From 819ce6fa6a390b0232a59c82a9462711cf6841cd Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 16 Apr 2009 04:53:43 +0000 Subject: [PATCH] reverted change committed by mistake --- includes/LogPage.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/includes/LogPage.php b/includes/LogPage.php index 0cf8e3c82d..9faff8187a 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -91,7 +91,7 @@ class LogPage { $this->type, $this->action, $this->target, $this->comment, $this->params, $newId ); $rc->notifyRC2UDP(); } - return $newId; + return true; } /** @@ -358,16 +358,6 @@ class LogPage { return $this->saveContent(); } - - public function addRelations( $field, $values, $logid ) { - $data = array(); - foreach( $values as $value ) { - $data[] = array('ls_field' => $field,'ls_value' => $value,'ls_log_id' => $logid); - } - $dbw = wfGetDB( DB_MASTER ); - $dbw->insert( 'log_search', $data, __METHOD__ ); - return true; - } /** * Create a blob from a parameter array -- 2.20.1