Index: trunk/phase3/includes/LogPage.php |
— | — | @@ -91,7 +91,7 @@ |
92 | 92 | $this->type, $this->action, $this->target, $this->comment, $this->params, $newId ); |
93 | 93 | $rc->notifyRC2UDP(); |
94 | 94 | } |
95 | | - return $newId; |
| 95 | + return true; |
96 | 96 | } |
97 | 97 | |
98 | 98 | /** |
— | — | @@ -358,16 +358,6 @@ |
359 | 359 | |
360 | 360 | return $this->saveContent(); |
361 | 361 | } |
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 | | - } |
372 | 362 | |
373 | 363 | /** |
374 | 364 | * Create a blob from a parameter array |