From 89053d31cd41abc569ece294d345858afba2a7ce Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 13 Jun 2013 19:20:41 +0200 Subject: [PATCH] Removed obsolete code Closes #1351 --- .../files/lib/system/search/SearchIndexManager.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1