From: Matthias Schmidt Date: Fri, 27 May 2016 07:15:10 +0000 (+0200) Subject: Remove obsolete passed method parameter X-Git-Tag: 3.0.0_Beta_1~1607 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=054d8823cca4c9bf2035c748abc72a8dadeea61c;p=GitHub%2FWoltLab%2FWCF.git Remove obsolete passed method parameter … as method only supports to parameters --- 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);