Remove obsolete passed method parameter
authorMatthias Schmidt <gravatronics@live.com>
Fri, 27 May 2016 07:15:10 +0000 (09:15 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 27 May 2016 09:48:12 +0000 (11:48 +0200)
… as method only supports to parameters

wcfsetup/install/files/lib/system/search/acp/ACPSearchHandler.class.php

index e46421a35961133f8001042905625ae92a7ad61b..1e633901b5fb2660babc59b0b7c2f6d25ac08c84 100644 (file)
@@ -58,7 +58,7 @@ class ACPSearchHandler extends SingletonFactory {
                        
                        /** @var IACPSearchResultProvider $provider */
                        $provider = new $className();
-                       $results = $provider->search($query, $maxResultsPerProvider);
+                       $results = $provider->search($query);
                        
                        if (!empty($results)) {
                                $resultList = new ACPSearchResultList($acpSearchProvider->providerName);