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:
authorStefan Giehl <stefan@matomo.org>2020-03-14 14:09:09 +0300
committerGitHub <noreply@github.com>2020-03-14 14:09:09 +0300
commit51522d95873a4b798bef186b082b19f9183e05a3 (patch)
treeaf38b87391f3e050c8fe7fd9636f9f8b169777d5 /plugins/CoreUpdater
parentc1ddd0c1673abd6f2ab07afd5a20ce0749c7e591 (diff)
Trigger SafeMode if a plugin update is broken (#15555)
* Trigger SafeMode if a plugin update is broken * add comment
Diffstat (limited to 'plugins/CoreUpdater')
-rw-r--r--plugins/CoreUpdater/CoreUpdater.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/CoreUpdater/CoreUpdater.php b/plugins/CoreUpdater/CoreUpdater.php
index f24bf25cd2..2265793b3e 100644
--- a/plugins/CoreUpdater/CoreUpdater.php
+++ b/plugins/CoreUpdater/CoreUpdater.php
@@ -65,6 +65,8 @@ class CoreUpdater extends \Piwik\Plugin
|| $module == 'Proxy'
// Do not show update page during installation.
|| $module == 'Installation'
+ || ($module == 'CorePluginsAdmin' && $action == 'deactivate')
+ || ($module == 'CorePluginsAdmin' && $action == 'uninstall')
|| ($module == 'LanguagesManager' && $action == 'saveLanguage')) {
return;
}