mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
36bd0dea29
commit
9f406531b7
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user