$notif = new NotificationCenter;
-$bugapi = new BugAPI($bugsys);
+$bugapi = new BugAPI();
$bugapi->set('bugid', $input->in['bugid']);
$bugapi->set_condition();
$bugapi->dorelations = array();
$commenttext = $input->in['comment'];
}
- $comment = new CommentAPI($bugsys);
+ $comment = new CommentAPI();
$comment->set('bugid', $input->in['bugid']);
$comment->set('userid', bugdar::$userinfo['userid']);
$comment->set('comment', $commenttext);