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:
authorsgiehl <stefan@piwik.org>2015-06-07 21:50:43 +0300
committersgiehl <stefan@piwik.org>2015-06-08 22:48:25 +0300
commit9d1ce99a7bcce60bc855ff63970204bf3d23167b (patch)
treebe35d7c418e035efe8fcdc0b678bfc51cdf58182 /plugins/MultiSites
parent3d0ca73fde51e28d998b555de9efb2114e9e14a5 (diff)
use plugin.json instead of getInformation() method for MultiSites plugin
Diffstat (limited to 'plugins/MultiSites')
-rw-r--r--plugins/MultiSites/MultiSites.php7
-rw-r--r--plugins/MultiSites/plugin.json9
2 files changed, 9 insertions, 7 deletions
diff --git a/plugins/MultiSites/MultiSites.php b/plugins/MultiSites/MultiSites.php
index c69f174d84..a030fc02b0 100644
--- a/plugins/MultiSites/MultiSites.php
+++ b/plugins/MultiSites/MultiSites.php
@@ -12,13 +12,6 @@ use Piwik\Piwik;
class MultiSites extends \Piwik\Plugin
{
- public function getInformation()
- {
- $info = parent::getInformation();
- $info['authors'] = array(array('name' => 'Piwik PRO', 'homepage' => 'http://piwik.pro'));
- return $info;
- }
-
/**
* @see Piwik\Plugin::getListHooksRegistered
*/
diff --git a/plugins/MultiSites/plugin.json b/plugins/MultiSites/plugin.json
new file mode 100644
index 0000000000..5ea6b92356
--- /dev/null
+++ b/plugins/MultiSites/plugin.json
@@ -0,0 +1,9 @@
+{
+ "name": "MultiSites",
+ "authors": [
+ {
+ "name": "Piwik PRO",
+ "homepage": "http://piwik.pro"
+ }
+ ]
+} \ No newline at end of file