From: Marcel Werk Date: Thu, 13 Jun 2013 17:20:41 +0000 (+0200) Subject: Removed obsolete code X-Git-Tag: 2.0.0_Beta_4~45 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=89053d31cd41abc569ece294d345858afba2a7ce;p=GitHub%2FWoltLab%2FWCF.git Removed obsolete code Closes #1351 --- diff --git a/wcfsetup/install/files/lib/system/search/SearchIndexManager.class.php b/wcfsetup/install/files/lib/system/search/SearchIndexManager.class.php index 648e600642..850db9cee7 100644 --- a/wcfsetup/install/files/lib/system/search/SearchIndexManager.class.php +++ b/wcfsetup/install/files/lib/system/search/SearchIndexManager.class.php @@ -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);