classes/ezcomcommentmanager.php
public function updateComment( $comment, $user=null, $time = null , $notified = null )
    {
        if ( $time === null )
        {
            $time = time();
        }

        $beforeUpdating = $this->beforeUpdatingComment( $comment, $notified, $time );
        if ( $beforeUpdating !== true )
        {
            return $beforeUpdating;
        }
        $comment->store();

        $afterUpdating = $this->afterUpdatingComment( $comment, $notified, $time );
        if ( $afterUpdating !== true )
        {
            return $afterUpdating;
        }
        return true;
    }
public function updateComment( $comment, $user=null, $time = null , $notified = null )
    {
        if ( $time === null )
        {
            $time = time();
        }

        $beforeUpdating = $this->beforeUpdatingComment( $comment, $notified, $time );
        if ( $beforeUpdating !== true )
        {
            return $beforeUpdating;
        }
        $comment->store();

        $afterUpdating = $this->afterUpdatingComment( $comment, $notified, $time );
        if ( $afterUpdating !== true )
        {
            return $afterUpdating;
        }
        return true;
    }
public function updateComment ( $ comment , $ user = null , $ time = null , $ notified = null ) { if ( $ time === null ) { $ time = time ( ) ; } $ beforeUpdating = $ this -> beforeUpdatingComment ( $ comment , $ notified , $ time ) ; if ( $ beforeUpdating !== true ) { return $ beforeUpdating ; } $ comment -> store ( ) ; $ afterUpdating = $ this -> afterUpdatingComment ( $ comment , $ notified , $ time ) ; if ( $ afterUpdating !== true ) { return $ afterUpdating ; } return true ; }
Update the comment
@param $comment comment to be updated
@param $notified change the notification
@param $time
@param $user user to change
@return
Update the comment