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
path: root/core
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2021-07-19 10:57:49 +0300
committerGitHub <noreply@github.com>2021-07-19 10:57:49 +0300
commitf44f11a22275361d213c64059c556cb415abe3f3 (patch)
tree2918e924c05f957c6ffcb1a08da7dd5f13f5f473 /core
parent0cbcdadf5a972d531b7d5e78afa21a71004a9777 (diff)
check plugin exists in the filesystem on plugin activate command (#17772)
* check plugin is activated/deactivated in plugin * add another check * remove loadPlugin() modification * undo deactiveplugin change
Diffstat (limited to 'core')
-rw-r--r--core/Plugin/Manager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Plugin/Manager.php b/core/Plugin/Manager.php
index b8838e86cb..1170b33a77 100644
--- a/core/Plugin/Manager.php
+++ b/core/Plugin/Manager.php
@@ -1184,6 +1184,7 @@ class Manager
if (isset($this->loadedPlugins[$pluginName])) {
return $this->loadedPlugins[$pluginName];
}
+
$newPlugin = $this->makePluginClass($pluginName);
$this->addLoadedPlugin($pluginName, $newPlugin);