Remove deprecated methods from SearchIndexManager
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 5 Aug 2022 07:34:35 +0000 (09:34 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 5 Aug 2022 07:34:35 +0000 (09:34 +0200)
As these are long deprecated and thin wrappers only, they can be trivially
adjusted.

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

index 4c51d7afa1f950302ae053af8cd65fb2db31f5e7..1cd1596cb8aaa4f119f3c52f3133d2c0088e9a89 100644 (file)
@@ -129,40 +129,6 @@ class SearchIndexManager extends SingletonFactory implements ISearchIndexManager
             ->set($objectType, $objectID, $message, $subject, $time, $userID, $username, $languageID, $metaData);
     }
 
-    /**
-     * @deprecated  3.0 - please use `set() instead`
-     */
-    public function add(
-        $objectType,
-        $objectID,
-        $message,
-        $subject,
-        $time,
-        $userID,
-        $username,
-        $languageID = null,
-        $metaData = ''
-    ) {
-        $this->set($objectType, $objectID, $message, $subject, $time, $userID, $username, $languageID, $metaData);
-    }
-
-    /**
-     * @deprecated  3.0 - please use `set() instead`
-     */
-    public function update(
-        $objectType,
-        $objectID,
-        $message,
-        $subject,
-        $time,
-        $userID,
-        $username,
-        $languageID = null,
-        $metaData = ''
-    ) {
-        $this->set($objectType, $objectID, $message, $subject, $time, $userID, $username, $languageID, $metaData);
-    }
-
     /**
      * @inheritDoc
      */