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');