mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 04:12:18 +09:00
코드가 new Object으로만 작성된 코드에 대해서도 동일하게 BaseObject 호출하도록 추가.
This commit is contained in:
parent
f3f40f6859
commit
1803883e1d
9 changed files with 18 additions and 18 deletions
|
|
@ -75,7 +75,7 @@ class commentController extends comment
|
|||
$point = 1;
|
||||
$output = $this->updateVotedCountCancel($comment_srl, $oComment, $point);
|
||||
|
||||
$output = new Object();
|
||||
$output = new BaseObject();
|
||||
$output->setMessage('success_voted_canceled');
|
||||
|
||||
return $output;
|
||||
|
|
@ -136,7 +136,7 @@ class commentController extends comment
|
|||
$point = -1;
|
||||
$output = $this->updateVotedCountCancel($comment_srl, $oComment, $point);
|
||||
|
||||
$output = new Object();
|
||||
$output = new BaseObject();
|
||||
$output->setMessage('success_blamed_canceled');
|
||||
|
||||
return $output;
|
||||
|
|
@ -1437,7 +1437,7 @@ class commentController extends comment
|
|||
$oDB->commit();
|
||||
|
||||
// Return the result
|
||||
$output = new Object(0, $success_message);
|
||||
$output = new BaseObject(0, $success_message);
|
||||
if($point > 0)
|
||||
{
|
||||
$output->add('voted_count', $obj->after_point);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue