|| ###################################################################
\*=====================================================================*/
-define('SVN', '$Id$');
$focus['showreport'] = 'focus';
// setup logging
require_once('./includes/class_logging.php');
$log = new Logging();
-$log->set_bugid($bug['bugid']);
+$log->setBugId($bug['bugid']);
$notif = new NotificationCenter();
$message->errorPermission();
}
- $log->add_data(true, $bugapi->record, $log->getCommonFields(), true);
+ $log->addData(true, $bugapi->record, $log->getCommonFields(), true);
// -------------------------------------------------------------------
// handle automations
// handle logging and perform updates
$notif->setBugData($bugapi->record, array_merge($bugapi->record, $bugapi->values));
- $log->add_data(false, $bugapi->values, $log->getCommonFields(), true);
+ $log->addData(false, $bugapi->values, $log->getCommonFields(), true);
if (!$message->hasErrors())
{
// -------------------------------------------------------------------
// do diff history
- $log->update_history();
+ $log->updateHistory();
$notif->sendBugChangeNotice();
$message->redirect(T('Your changes to the bug have been saved.'), "showreport.php?bugid=$bug[bugid]");
}
-/*=====================================================================*\
-|| ###################################################################
-|| # $HeadURL$
-|| # $Id$
-|| ###################################################################
-\*=====================================================================*/
?>
\ No newline at end of file