From: Andrey Kutejko Date: Sun, 24 Aug 2014 19:27:07 +0000 (+0300) Subject: since now explicit admin component creation only is allowed X-Git-Tag: 0.6~20 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=da6f325118a484eedd061860f7ad6b2b684f7606;p=ipf-legacy-orm.git since now explicit admin component creation only is allowed --- diff --git a/ipf/legacy_orm/orm/import/builder.php b/ipf/legacy_orm/orm/import/builder.php index 7a398ad..9aaae70 100644 --- a/ipf/legacy_orm/orm/import/builder.php +++ b/ipf/legacy_orm/orm/import/builder.php @@ -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'),", '*/', '', );