From a921201d6d1f71484c992040e85e29c6abfa4110 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Sat, 4 Apr 2015 17:31:39 +1100 Subject: [PATCH] Fixes broken search --- modules/system/controllers/Updates.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/system/controllers/Updates.php b/modules/system/controllers/Updates.php index 2f8646b0e..21c7889ff 100644 --- a/modules/system/controllers/Updates.php +++ b/modules/system/controllers/Updates.php @@ -643,7 +643,7 @@ class Updates extends Controller // Product install // - public function install_onSearchProducts() + public function onSearchProducts() { $searchType = get('search', 'plugins'); $serverUri = $searchType == 'plugins' ? 'plugin/search' : 'theme/search'; @@ -652,7 +652,7 @@ class Updates extends Controller return $manager->requestServerData($serverUri, ['query' => get('query')]); } - public function install_onGetPopularPlugins() + public function onGetPopularPlugins() { $installed = $this->getInstalledPlugins(); $popular = UpdateManager::instance()->requestPopularProducts('plugin'); @@ -661,7 +661,7 @@ class Updates extends Controller return ['result' => $popular]; } - public function install_onGetPopularThemes() + public function onGetPopularThemes() { $installed = $this->getInstalledThemes(); $popular = UpdateManager::instance()->requestPopularProducts('theme');