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:
-rw-r--r--core/FrontController.php11
-rw-r--r--core/PluginDeactivatedException.php20
2 files changed, 20 insertions, 11 deletions
diff --git a/core/FrontController.php b/core/FrontController.php
index 34da03fd9f..cf1981c48a 100644
--- a/core/FrontController.php
+++ b/core/FrontController.php
@@ -613,14 +613,3 @@ class FrontController extends Singleton
return $result;
}
}
-
-/**
- * Exception thrown when the requested plugin is not activated in the config file
- */
-class PluginDeactivatedException extends Exception
-{
- public function __construct($module)
- {
- parent::__construct("The plugin $module is not enabled. You can activate the plugin on Settings > Plugins page in Piwik.");
- }
-}
diff --git a/core/PluginDeactivatedException.php b/core/PluginDeactivatedException.php
new file mode 100644
index 0000000000..fe42667674
--- /dev/null
+++ b/core/PluginDeactivatedException.php
@@ -0,0 +1,20 @@
+<?php
+/**
+ * Piwik - free/libre analytics platform
+ *
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
+ */
+
+namespace Piwik;
+
+/**
+ * Exception thrown when the requested plugin is not activated in the config file
+ */
+class PluginDeactivatedException extends \Exception
+{
+ public function __construct($module)
+ {
+ parent::__construct("The plugin $module is not enabled. You can activate the plugin on Settings > Plugins page in Piwik.");
+ }
+}