]> git.andy128k.dev Git - ipf-legacy-orm.git/commitdiff
since now explicit admin component creation only is allowed
authorAndrey Kutejko <andy128k@gmail.com>
Sun, 24 Aug 2014 19:27:07 +0000 (22:27 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Sun, 24 Aug 2014 19:27:07 +0000 (22:27 +0300)
ipf/legacy_orm/orm/import/builder.php

index 7a398adbbcf41fa06b3f57c2c41129addd4d7379..9aaae7092c53218a9a49ecee159a8cef00756594 100644 (file)
@@ -374,7 +374,8 @@ class IPF_ORM_Import_Builder
             '{',
             '}',
             '',
-            'IPF_Admin_Model::register(\''.$className.'\', \''.$adminClassName.'\');',
+            '// Add following line to your admin.php to enable admin interface for this model',
+            "new $adminClassName('$className'),",
             '*/',
             '',
         );