Skip to content
This repository has been archived by the owner on Feb 13, 2018. It is now read-only.

Commit

Permalink
PHP 7.2에서 사용할 수 없게 된 Object 클래스의 이름의 변경사항 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu committed Nov 28, 2017
1 parent 31d4db5 commit e0341ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions krzip.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ class krzip extends ModuleObject

function moduleInstall()
{
return new Object();
return new BaseObject();
}

function moduleUninstall()
{
return new Object();
return new BaseObject();
}

function checkUpdate()
Expand All @@ -41,7 +41,7 @@ function checkUpdate()

function moduleUpdate()
{
return new Object();
return new BaseObject();
}
}

Expand Down
10 changes: 5 additions & 5 deletions krzip.model.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function getKrzipCodeList($query)
$module_config = $this->getConfig();
if($module_config->api_handler != 1)
{
return new Object(-1, 'msg_invalid_request');
return new BaseObject(-1, 'msg_invalid_request');
}
if(!isset($query))
{
Expand Down Expand Up @@ -185,11 +185,11 @@ function getEpostapiSearch($query = '')
}
}

return new Object(-1, $err_msg);
return new BaseObject(-1, $err_msg);
}
if(!$result->post)
{
return new Object(-1, 'msg_krzip_riddling_wrong');
return new BaseObject(-1, 'msg_krzip_riddling_wrong');
}

$item_list = $result->post->itemlist->item;
Expand All @@ -199,7 +199,7 @@ function getEpostapiSearch($query = '')
}
if(!$item_list)
{
return new Object(-1, 'msg_krzip_no_result');
return new BaseObject(-1, 'msg_krzip_no_result');
}

$addr_list = array();
Expand All @@ -211,7 +211,7 @@ function getEpostapiSearch($query = '')
$addr_list[] = $this->getMigratedPostcode('(' . $postcode . ') (' . $jibun_addr . ') ' . $road_addr);
}

$output = new Object();
$output = new BaseObject();
$output->add('address_list', $addr_list);

return $output;
Expand Down

0 comments on commit e0341ca

Please sign in to comment.