Revision: 49555 Author: aaron Date: 2009-04-16 04:53:43 +0000 (Thu, 16 Apr 2009)
Log Message: ----------- reverted change committed by mistake Modified Paths: -------------- trunk/phase3/includes/LogPage.php Modified: trunk/phase3/includes/LogPage.php =================================================================== --- trunk/phase3/includes/LogPage.php 2009-04-16 04:51:43 UTC (rev 49554) +++ trunk/phase3/includes/LogPage.php 2009-04-16 04:53:43 UTC (rev 49555) @@ -91,7 +91,7 @@ $this->type, $this->action, $this->target, $this->comment, $this->params, $newId ); $rc->notifyRC2UDP(); } - return $newId; + return true; } /** @@ -358,16 +358,6 @@ 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 _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs