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:29:05 +0300
committersgiehl <stefan@piwik.org>2015-06-08 22:48:25 +0300
commit550b41e20b50cb4b1342c8a5bcd10f6e164c9b11 (patch)
tree6a7328886fb346630de2fa39d3ea44394ccf04c8 /plugins/Proxy
parent47bd2987d4a31b50348101fe8894422967175b05 (diff)
use plugin.json instead of getInformation() method for Proxy plugin
Diffstat (limited to 'plugins/Proxy')
-rw-r--r--plugins/Proxy/Proxy.php18
-rw-r--r--plugins/Proxy/plugin.json4
2 files changed, 4 insertions, 18 deletions
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