r49555 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49554‎ | r49555 | r49556 >
Date:04:53, 16 April 2009
Author:aaron
Status:ok
Tags:
Comment:
reverted change committed by mistake
Modified paths:
  • /trunk/phase3/includes/LogPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogPage.php
@@ -91,7 +91,7 @@
9292 $this->type, $this->action, $this->target, $this->comment, $this->params, $newId );
9393 $rc->notifyRC2UDP();
9494 }
95 - return $newId;
 95+ return true;
9696 }
9797
9898 /**
@@ -358,16 +358,6 @@
359359
360360 return $this->saveContent();
361361 }
362 -
363 - public function addRelations( $field, $values, $logid ) {
364 - $data = array();
365 - foreach( $values as $value ) {
366 - $data[] = array('ls_field' => $field,'ls_value' => $value,'ls_log_id' => $logid);
367 - }
368 - $dbw = wfGetDB( DB_MASTER );
369 - $dbw->insert( 'log_search', $data, __METHOD__ );
370 - return true;
371 - }
372362
373363 /**
374364 * Create a blob from a parameter array

Status & tagging log