]> git.andy128k.dev Git - ipf-legacy-orm.git/commitdiff
cleanup
authorAndrey Kutejko <andy128k@gmail.com>
Sun, 24 Aug 2014 11:27:55 +0000 (14:27 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Sun, 24 Aug 2014 11:27:55 +0000 (14:27 +0300)
ipf/legacy_orm/orm/record.php

index 2b5b908bdae4cc70979f232d369bb42558f286db..8be51ab10276b87a4643bf63bc09c2af047ed134 100644 (file)
@@ -1178,14 +1178,6 @@ abstract class IPF_ORM_Record extends IPF_ORM_Record_Abstract implements Countab
         return sprintf('<%s #%d>', get_class($this), $this->_oid);
     }
 
-    public function ModelAdmin()
-    {
-        $cn = get_class($this);
-        if (isset(IPF_Admin_Model::$models[$cn]))
-            return IPF_Admin_Model::$models[$cn];
-        return null;
-    }
-
     public function SetFromFormData($cleaned_values)
     {
         $names = $this->_table->getFieldNames();