mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경
This commit is contained in:
parent
f4c19a3e0f
commit
f3f40f6859
109 changed files with 976 additions and 976 deletions
|
|
@ -39,10 +39,10 @@ class editorAdminController extends editor
|
|||
}
|
||||
|
||||
$output = $this->editorListOrder($component_names,$site_module_info->site_srl);
|
||||
if(!$output->toBool()) return new Object();
|
||||
if(!$output->toBool()) return new BaseObject();
|
||||
|
||||
$output = $this->editorCheckUse($componentList,$site_module_info->site_srl);
|
||||
if(!$output->toBool()) return new Object();
|
||||
if(!$output->toBool()) return new BaseObject();
|
||||
|
||||
$oEditorController = getController('editor');
|
||||
$oEditorController->removeCache($site_module_info->site_srl);
|
||||
|
|
@ -70,7 +70,7 @@ class editorAdminController extends editor
|
|||
$output = executeQuery('editor.updateSiteComponent', $args);
|
||||
}
|
||||
}
|
||||
if(!$output->toBool()) return new Object();
|
||||
if(!$output->toBool()) return new BaseObject();
|
||||
|
||||
unset($componentList);
|
||||
return $output;
|
||||
|
|
@ -99,7 +99,7 @@ class editorAdminController extends editor
|
|||
$output = executeQuery('editor.updateSiteComponent', $args);
|
||||
}
|
||||
|
||||
if(!$output->toBool()) return new Object();
|
||||
if(!$output->toBool()) return new BaseObject();
|
||||
$list_order_num++;
|
||||
}
|
||||
}
|
||||
|
|
@ -251,7 +251,7 @@ class editorAdminController extends editor
|
|||
// Check if the component exists
|
||||
if(!$site_srl) $output = executeQuery('editor.isComponentInserted', $args);
|
||||
else $output = executeQuery('editor.isSiteComponentInserted', $args);
|
||||
if($output->data->count) return new Object(-1, 'msg_component_is_not_founded');
|
||||
if($output->data->count) return new BaseObject(-1, 'msg_component_is_not_founded');
|
||||
// Inert a component
|
||||
$args->list_order = getNextSequence();
|
||||
if(!$site_srl) $output = executeQuery('editor.insertComponent', $args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue