From c42123dcdccf7388f696df8ff11d31e4277d838d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 4 Oct 2005 03:29:01 +0000 Subject: [PATCH] r490: Removing unneeded logging calls --- attachment.php | 11 ----------- newcomment.php | 7 ------- 2 files changed, 18 deletions(-) diff --git a/attachment.php b/attachment.php index c83e7b8..d1fa482 100755 --- a/attachment.php +++ b/attachment.php @@ -123,11 +123,6 @@ if ($_POST['do'] == 'insert') )" ); - $attachmentid = $db->insert_id(); - $log->arguments = array($FILE['name'], $attachmentid); - $log->allowempty = true; - $log->log(); - // mark obsoletes $obsoletes = $_POST['obsoletes']; if (count($obsoletes) > 0) @@ -158,12 +153,6 @@ if ($_POST['do'] == 'insert') '" . nl2br($bugsys->in['comment_parsed']) . "' )" ); - - $commentid = $db->insert_id(); - - $log->arguments = array($attachmentid, $commentid); - $log->allowempty = true; - $log->log(); } // update the last post data diff --git a/newcomment.php b/newcomment.php index 7ef172f..5d10918 100644 --- a/newcomment.php +++ b/newcomment.php @@ -52,13 +52,6 @@ if ($_POST['do'] == 'insert') hiddenlastpostby = " . $bugsys->userinfo['userid'] . " WHERE bugid = " . intval($bugsys->in['bugid']) ); - - // setup logging - require_once('./includes/class_history.php'); - $log = new History(); - $log->bugid = $bugsys->in['bugid']; - $log->arguments = array($commentid); - $log->log(); $message->redirect($lang->string('Your reply has been added to the comment list.'), "showreport.php?bugid=" . intval($bugsys->in['bugid'])); } -- 2.22.5