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
This commit is contained in:
Normann Lou 2009-01-15 00:35:32 +00:00 committed by Sam Minnee
parent 36bd0dea29
commit 9f406531b7

View File

@ -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():