require_once('./includes/class_api_error.php');
APIError(array(new API_Error_Handler($message), 'user_cumulative'));
-$commentapi = new CommentAPI($bugsys);
+$commentapi = new CommentAPI();
$commentapi->set('commentid', $input->in['commentid']);
$commentapi->set_condition();
$commentapi->fetch();
$comment['posttime'] = $datef->format(bugdar::$options['dateformat'], $comment['dateline']);
if ($comment['userid'])
{
- $commenter = new UserAPI($bugsys);
+ $commenter = new UserAPI();
$commenter->set('userid', $comment['userid']);
$commenter->set_condition();
$commenter->fetch();