reverted change committed by mistake
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 16 Apr 2009 04:53:43 +0000 (04:53 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 16 Apr 2009 04:53:43 +0000 (04:53 +0000)
includes/LogPage.php

index 0cf8e3c..9faff81 100644 (file)
@@ -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