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:48:37 +0300
committersgiehl <stefan@piwik.org>2015-06-08 22:48:26 +0300
commit65c465a550a7a2ac242f2aa5bb49c4e2f4e2584e (patch)
treeb1b50536ae9788a00f5dda105459cdf9e6b91050 /plugins/SEO
parente4abf83966b0af1c0b1bfd611509785390a2f4a3 (diff)
use plugin.json instead of getInformation() method for SEO plugin
Diffstat (limited to 'plugins/SEO')
-rw-r--r--plugins/SEO/SEO.php15
-rw-r--r--plugins/SEO/plugin.json4
2 files changed, 4 insertions, 15 deletions
diff --git a/plugins/SEO/SEO.php b/plugins/SEO/SEO.php
index f295b1a28e..f5db02ea46 100644
--- a/plugins/SEO/SEO.php
+++ b/plugins/SEO/SEO.php
@@ -8,23 +8,8 @@
*/
namespace Piwik\Plugins\SEO;
-use Piwik\Version;
-
/**
*/
class SEO extends \Piwik\Plugin
{
- /**
- * @see Piwik\Plugin::getInformation
- */
- public function getInformation()
- {
- return array(
- 'description' => 'This Plugin extracts and displays SEO metrics: Alexa web ranking, Google Pagerank, number of Indexed pages and backlinks of the currently selected website.',
- 'authors' => array(array('name' => 'Piwik', 'homepage' => 'http://piwik.org/')),
- 'version' => Version::VERSION,
- 'license' => 'GPL v3+',
- 'license_homepage' => 'http://www.gnu.org/licenses/gpl.html'
- );
- }
}
diff --git a/plugins/SEO/plugin.json b/plugins/SEO/plugin.json
new file mode 100644
index 0000000000..9652a37a57
--- /dev/null
+++ b/plugins/SEO/plugin.json
@@ -0,0 +1,4 @@
+{
+ "name": "SEO",
+ "description": "This Plugin extracts and displays SEO metrics: Alexa web ranking, Google Pagerank, number of Indexed pages and backlinks of the currently selected website."
+}