/** * Empty comment in trash, called by trash module * this method is passived * @return object */ function emptyTrash($originObject) { $originObject = unserialize($originObject); if (is_array($originObject)) { $originObject = (object) $originObject; } $oComment = new commentItem(); $oComment->setAttribute($originObject); //already comment deleted, therefore only comment log delete $oCommentController = getController('comment'); $output = $oCommentController->deleteCommentLog($oComment->get('comment_srl')); return $output; }