Removed obsolete code
authorMarcel Werk <burntime@woltlab.com>
Thu, 13 Jun 2013 17:20:41 +0000 (19:20 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 13 Jun 2013 17:20:41 +0000 (19:20 +0200)
Closes #1351

wcfsetup/install/files/lib/system/search/SearchIndexManager.class.php

index 648e6006423477eb275f1dfd8db9fc669fce636a..850db9cee761f690b255c192287e6937b616da52 100644 (file)
@@ -83,7 +83,7 @@ class SearchIndexManager extends SingletonFactory {
         */
        public function update($objectType, $objectID, $message, $subject, $time, $userID, $username, $languageID = null, $metaData = '') {
                // delete existing entry
-               $this->delete($objectType, array($objectID), ($languageID === null ? 0 : $languageID));
+               $this->delete($objectType, array($objectID));
                
                // save new entry
                $this->add($objectType, $objectID, $message, $subject, $time, $userID, $username, $languageID, $metaData);