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:
authorKate Butler <kate@innocraft.com>2019-05-28 04:31:39 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2019-05-28 04:31:39 +0300
commit75561add3c2cdd866b7987683a5588411071a057 (patch)
treefa8e2813b68b515ebd4baba3a11a646fc57972f6 /plugins/ExampleSettingsPlugin
parentec7e9afc89212af3d44e253c64a24f0f1723e481 (diff)
Ensure each plugin has a config.php and tracker.php file (#14430)
* Add empty config.php and tracker.php files to each plugin that doesn't have them; add to whitelist of files that are included in new plugins generated by generate:plugin * Add plugin files for plugins which were missing them
Diffstat (limited to 'plugins/ExampleSettingsPlugin')
-rw-r--r--plugins/ExampleSettingsPlugin/ExampleSettingsPlugin.php13
-rw-r--r--plugins/ExampleSettingsPlugin/config/config.php3
-rw-r--r--plugins/ExampleSettingsPlugin/config/tracker.php3
3 files changed, 19 insertions, 0 deletions
diff --git a/plugins/ExampleSettingsPlugin/ExampleSettingsPlugin.php b/plugins/ExampleSettingsPlugin/ExampleSettingsPlugin.php
new file mode 100644
index 0000000000..d696e7c7cd
--- /dev/null
+++ b/plugins/ExampleSettingsPlugin/ExampleSettingsPlugin.php
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Matomo - free/libre analytics platform
+ *
+ * @link http://matomo.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
+ */
+
+namespace Piwik\Plugins\ExampleSettingsPlugin;
+
+class ExampleSettingsPlugin extends \Piwik\Plugin
+{
+}
diff --git a/plugins/ExampleSettingsPlugin/config/config.php b/plugins/ExampleSettingsPlugin/config/config.php
new file mode 100644
index 0000000000..4932533ad3
--- /dev/null
+++ b/plugins/ExampleSettingsPlugin/config/config.php
@@ -0,0 +1,3 @@
+<?php
+return array();
+?> \ No newline at end of file
diff --git a/plugins/ExampleSettingsPlugin/config/tracker.php b/plugins/ExampleSettingsPlugin/config/tracker.php
new file mode 100644
index 0000000000..febb40801c
--- /dev/null
+++ b/plugins/ExampleSettingsPlugin/config/tracker.php
@@ -0,0 +1,3 @@
+<?php
+return array();
+?> \ No newline at end of file