瀏覽代碼

remove 'Admin::getReflectionFields' method

Thomas 14 年之前
父節點
當前提交
35fdb7ec88
共有 1 個文件被更改,包括 0 次插入10 次删除
  1. 0 10
      Admin/Admin.php

+ 0 - 10
Admin/Admin.php

@@ -838,16 +838,6 @@ abstract class Admin implements AdminInterface
         return 'SonataAdminBundle:CRUD:edit.html.twig';
     }
 
-    /**
-     * return the reflection fields related to the classname
-     *
-     * @return array The reflection fields related to the classname
-     */
-    public function getReflectionFields()
-    {
-        return $this->getClassMetaData()->reflFields;
-    }
-
     /**
      * return an instance of the related classname
      *