From 054d8823cca4c9bf2035c748abc72a8dadeea61c Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 27 May 2016 09:15:10 +0200 Subject: [PATCH] Remove obsolete passed method parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit … as method only supports to parameters --- .../files/lib/system/search/acp/ACPSearchHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/search/acp/ACPSearchHandler.class.php b/wcfsetup/install/files/lib/system/search/acp/ACPSearchHandler.class.php index e46421a359..1e633901b5 100644 --- a/wcfsetup/install/files/lib/system/search/acp/ACPSearchHandler.class.php +++ b/wcfsetup/install/files/lib/system/search/acp/ACPSearchHandler.class.php @@ -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); -- 2.20.1