From 550b41e20b50cb4b1342c8a5bcd10f6e164c9b11 Mon Sep 17 00:00:00 2001 From: sgiehl Date: Sun, 7 Jun 2015 21:29:05 +0200 Subject: use plugin.json instead of getInformation() method for Proxy plugin --- plugins/Proxy/Proxy.php | 18 ------------------ plugins/Proxy/plugin.json | 4 ++++ 2 files changed, 4 insertions(+), 18 deletions(-) create mode 100644 plugins/Proxy/plugin.json (limited to 'plugins/Proxy') diff --git a/plugins/Proxy/Proxy.php b/plugins/Proxy/Proxy.php index e879eddaa9..465847368a 100644 --- a/plugins/Proxy/Proxy.php +++ b/plugins/Proxy/Proxy.php @@ -8,28 +8,10 @@ */ namespace Piwik\Plugins\Proxy; -use Piwik\Version; - /** * Proxy services for the UI * */ class Proxy extends \Piwik\Plugin { - /** - * Return information about this plugin. - * - * @see Piwik\Plugin - * - * @return array - */ - public function getInformation() - { - return array( - 'description' => 'Proxy services', - 'authors' => array(array('name' => 'Piwik', 'homepage' => 'http://piwik.org/')), - 'version' => Version::VERSION, - 'translationAvailable' => false, - ); - } } diff --git a/plugins/Proxy/plugin.json b/plugins/Proxy/plugin.json new file mode 100644 index 0000000000..cf5dd8b267 --- /dev/null +++ b/plugins/Proxy/plugin.json @@ -0,0 +1,4 @@ +{ + "name": "Proxy", + "description": "Proxy services" +} \ No newline at end of file -- cgit v1.2.3