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 22:17:01 +0300
committersgiehl <stefan@piwik.org>2015-06-08 22:48:25 +0300
commit47bd2987d4a31b50348101fe8894422967175b05 (patch)
tree4f7472ee75af66be7965e917abfe4b785f134b3e
parent9d1ce99a7bcce60bc855ff63970204bf3d23167b (diff)
use plugin.json instead of getInformation() method for DevicesDetection plugin
-rw-r--r--plugins/DevicesDetection/DevicesDetection.php14
-rw-r--r--plugins/DevicesDetection/plugin.json10
2 files changed, 10 insertions, 14 deletions
diff --git a/plugins/DevicesDetection/DevicesDetection.php b/plugins/DevicesDetection/DevicesDetection.php
index 6b04b5cf38..88478e6ff6 100644
--- a/plugins/DevicesDetection/DevicesDetection.php
+++ b/plugins/DevicesDetection/DevicesDetection.php
@@ -18,20 +18,6 @@ require_once PIWIK_INCLUDE_PATH . '/plugins/DevicesDetection/functions.php';
class DevicesDetection extends \Piwik\Plugin
{
/**
- * @see Piwik\Plugin::getInformation
- */
- public function getInformation()
- {
- return array(
- 'description' => Piwik::translate("DevicesDetection_PluginDescription"),
- 'authors' => array(array('name' => 'Piwik PRO', 'homepage' => 'http://piwik.pro')),
- 'version' => '1.14',
- 'license' => 'GPL v3+',
- 'license_homepage' => 'http://www.gnu.org/licenses/gpl.html'
- );
- }
-
- /**
* @see Piwik\Plugin::getListHooksRegistered
*/
public function getListHooksRegistered()
diff --git a/plugins/DevicesDetection/plugin.json b/plugins/DevicesDetection/plugin.json
new file mode 100644
index 0000000000..f9d816466b
--- /dev/null
+++ b/plugins/DevicesDetection/plugin.json
@@ -0,0 +1,10 @@
+{
+ "name": "DevicesDetection",
+ "version": "1.14",
+ "authors": [
+ {
+ "name": "Piwik PRO",
+ "homepage": "http://piwik.pro"
+ }
+ ]
+}