mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Call-time pass-by-reference is a deprecated method
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4480 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8c2c965a8f
commit
98dd197fd3
1 changed files with 4 additions and 4 deletions
|
|
@ -32,7 +32,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
function insertParent($obj, $siteid, $module_srl)
|
||||
function insertParent(&$obj, $siteid, $module_srl)
|
||||
{
|
||||
$parentid = getNextSequence();
|
||||
$args->notified_srl = $parentid;
|
||||
|
|
@ -267,7 +267,7 @@
|
|||
return $code;
|
||||
}
|
||||
|
||||
function insertCommentNotify($obj, $siteid, $parentid, $module_srl)
|
||||
function insertCommentNotify(&$obj, $siteid, $parentid, $module_srl)
|
||||
{
|
||||
$myid = getNextSequence();
|
||||
$args->notified_srl = $myid;
|
||||
|
|
@ -331,7 +331,7 @@
|
|||
}
|
||||
else if ( $parentid == -1 )
|
||||
{
|
||||
$parentid = $this->insertParent( &$obj, $siteid, $module_srl );
|
||||
$parentid = $this->insertParent( $obj, $siteid, $module_srl );
|
||||
if($parentid == -1)
|
||||
{
|
||||
$oDB->rollback();
|
||||
|
|
@ -349,7 +349,7 @@
|
|||
$this->updateParent($parentid);
|
||||
}
|
||||
|
||||
if(!$this->insertCommentNotify(&$obj, $siteid, $parentid, $module_srl))
|
||||
if(!$this->insertCommentNotify($obj, $siteid, $parentid, $module_srl))
|
||||
{
|
||||
$oDB->rollback();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue