Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Aubry <matt@piwik.org>2015-11-18 06:55:21 +0300
committerMatthieu Aubry <matt@piwik.org>2015-11-18 06:55:21 +0300
commiteca17c0b44b1a73c439d892cdc0743291c5c6acb (patch)
tree45a55dfd6b32021d6e90005b70e0939de74daa96 /core/Plugin/Manager.php
parentb8b4e06357d1dddf56cfea4073d1632fca62def8 (diff)
parentea30714acff275cff51930d6f4312722e4cb2916 (diff)
Merge pull request #9218 from piwik/9160
Show an error message if installing a plugin fails
Diffstat (limited to 'core/Plugin/Manager.php')
-rw-r--r--core/Plugin/Manager.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/core/Plugin/Manager.php b/core/Plugin/Manager.php
index 010838acf8..150151ee3e 100644
--- a/core/Plugin/Manager.php
+++ b/core/Plugin/Manager.php
@@ -440,16 +440,10 @@ class Manager
public function installLoadedPlugins()
{
Log::debug("Loaded plugins: " . implode(", ", array_keys($this->getLoadedPlugins())));
- $messages = array();
+
foreach ($this->getLoadedPlugins() as $plugin) {
- try {
- $this->installPluginIfNecessary($plugin);
- } catch (\Exception $e) {
- $messages[] = $e->getMessage();
- }
+ $this->installPluginIfNecessary($plugin);
}
-
- return $messages;
}
/**