From 9f406531b700ccd120b102b12079777d468d957f Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Thu, 15 Jan 2009 00:35:32 +0000 Subject: [PATCH] BUGFIX: due to changeset 65289 by phalkunz, the ImportForm() and import() functions need to move from CRMAdmin class to CRMAdmin_CollectionController class, fix relative bugs by the move. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70172 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/ModelAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ModelAdmin.php b/code/ModelAdmin.php index bccc6b8d..79ea1239 100644 --- a/code/ModelAdmin.php +++ b/code/ModelAdmin.php @@ -208,7 +208,7 @@ abstract class ModelAdmin extends LeftAndMain { /** * @return array */ - protected function getManagedModels() { + function getManagedModels() { $models = $this->stat('managed_models'); if(is_string($models)) $models = array($models); if(!count($models)) user_error('ModelAdmin::getManagedModels():