diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-24 21:39:36 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-24 21:39:36 -0400 |
commit | 8ba05940e9ee76e95ce808d8da163c2af29e4e93 (patch) | |
tree | aa25adca7227774dfbbcddfd5e294ef3e44f7692 /app/Controller | |
parent | b9f2d5650d464983a80f84f3ed0845028a355c92 (diff) |
Filter non compatible plugins
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/PluginController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Controller/PluginController.php b/app/Controller/PluginController.php index b6f9a33b..7b9d64d9 100644 --- a/app/Controller/PluginController.php +++ b/app/Controller/PluginController.php @@ -2,6 +2,7 @@ namespace Kanboard\Controller; +use Kanboard\Core\Plugin\Directory; use Kanboard\Core\Plugin\Installer; use Kanboard\Core\Plugin\PluginInstallerException; @@ -40,7 +41,7 @@ class PluginController extends BaseController $this->response->html($this->helper->layout->plugin('plugin/directory', array( 'installed_plugins' => $installedPlugins, - 'available_plugins' => $this->httpClient->getJson(PLUGIN_API_URL), + 'available_plugins' => Directory::getInstance($this->container)->getAvailablePlugins(), 'title' => t('Plugin Directory'), 'is_configured' => Installer::isConfigured(), ))); |