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
|
|
@ -26,7 +26,7 @@ class moduleAdminModel extends module
|
|||
$args = new stdClass;
|
||||
$args->module_srls = Context::get('module_srls');
|
||||
$output = executeQueryArray('module.getModulesInfo', $args);
|
||||
if(!$output->toBool() || !$output->data) return new Object();
|
||||
if(!$output->toBool() || !$output->data) return new BaseObject();
|
||||
|
||||
foreach($output->data as $key => $val)
|
||||
{
|
||||
|
|
@ -215,12 +215,12 @@ class moduleAdminModel extends module
|
|||
$moduleSrl = Context::get('module_srl');
|
||||
if(!$targetModule || !$moduleSrl)
|
||||
{
|
||||
return new Object(-1, 'msg_invalid_request');
|
||||
return new BaseObject(-1, 'msg_invalid_request');
|
||||
}
|
||||
|
||||
if($targetModule == '_SHORTCUT')
|
||||
{
|
||||
return new Object(0);
|
||||
return new BaseObject(0);
|
||||
}
|
||||
|
||||
$oModuleModel = getModel('module');
|
||||
|
|
@ -453,7 +453,7 @@ class moduleAdminModel extends module
|
|||
function getModuleAdminLangCode()
|
||||
{
|
||||
$name = Context::get('name');
|
||||
if(!$name) return new Object(-1,'msg_invalid_request');
|
||||
if(!$name) return new BaseObject(-1,'msg_invalid_request');
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
$this->add('name', $name);
|
||||
$output = $this->getLangCode($site_module_info->site_srl, '$user_lang->'.$name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue