diff options
author | sgiehl <stefan@piwik.org> | 2015-06-07 22:54:42 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-06-08 22:48:26 +0300 |
commit | 6dbaf9823f234dedda3d7cbbb98f6a0953e99d60 (patch) | |
tree | 6a7dd9814cb71a8e0f1ec912bbf34f53127563cc /plugins/SegmentEditor | |
parent | 65c465a550a7a2ac242f2aa5bb49c4e2f4e2584e (diff) |
use plugin.json instead of getInformation() method for SegmentEditor plugin
Diffstat (limited to 'plugins/SegmentEditor')
-rw-r--r-- | plugins/SegmentEditor/SegmentEditor.php | 14 | ||||
-rw-r--r-- | plugins/SegmentEditor/plugin.json | 4 |
2 files changed, 4 insertions, 14 deletions
diff --git a/plugins/SegmentEditor/SegmentEditor.php b/plugins/SegmentEditor/SegmentEditor.php index aef619156d..4ed59a4a7b 100644 --- a/plugins/SegmentEditor/SegmentEditor.php +++ b/plugins/SegmentEditor/SegmentEditor.php @@ -18,20 +18,6 @@ use Piwik\Version; class SegmentEditor extends \Piwik\Plugin { /** - * @see Piwik\Plugin::getInformation - */ - public function getInformation() - { - return array( - 'description' => 'Create and reuse custom visitor Segments with the Segment Editor.', - 'authors' => array(array('name' => 'Piwik', 'homepage' => 'http://piwik.org/')), - 'version' => Version::VERSION, - 'license' => 'GPL v3+', - 'license_homepage' => 'http://www.gnu.org/licenses/gpl.html' - ); - } - - /** * @see Piwik\Plugin::getListHooksRegistered */ public function getListHooksRegistered() diff --git a/plugins/SegmentEditor/plugin.json b/plugins/SegmentEditor/plugin.json new file mode 100644 index 0000000000..23fe2d0d3d --- /dev/null +++ b/plugins/SegmentEditor/plugin.json @@ -0,0 +1,4 @@ +{ + "name": "SegmentEditor", + "description": "Create and reuse custom visitor Segments with the Segment Editor." +} |