Skip to content
Extraits de code Groupes Projets
Valider cae15a35 rédigé par Fabian Becker's avatar Fabian Becker
Parcourir les fichiers

Convert the old author/author_homepage to the new structure.

refs #4578
parent 4fcd238e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -36,8 +36,7 @@ class DevicesDetection extends \Piwik\Plugin ...@@ -36,8 +36,7 @@ class DevicesDetection extends \Piwik\Plugin
{ {
return array( return array(
'description' => "[Beta Plugin] " . Piwik::translate("DevicesDetection_PluginDescription"), 'description' => "[Beta Plugin] " . Piwik::translate("DevicesDetection_PluginDescription"),
'author' => 'Piwik PRO', 'authors' => array(array('name' => 'Piwik PRO', 'homepage' => 'http://piwik.pro')),
'author_homepage' => 'http://piwik.pro',
'version' => '1.14', 'version' => '1.14',
'license' => 'GPL v3+', 'license' => 'GPL v3+',
'license_homepage' => 'http://www.gnu.org/licenses/gpl.html' 'license_homepage' => 'http://www.gnu.org/licenses/gpl.html'
......
...@@ -22,8 +22,7 @@ class MultiSites extends \Piwik\Plugin ...@@ -22,8 +22,7 @@ class MultiSites extends \Piwik\Plugin
public function getInformation() public function getInformation()
{ {
$info = parent::getInformation(); $info = parent::getInformation();
$info['author'] = 'Piwik PRO'; $info['authors'] = array(array('name' => 'Piwik PRO', 'homepage' => 'http://piwik.pro'));
$info['author_homepage'] = 'http://piwik.pro';
return $info; return $info;
} }
......
...@@ -30,8 +30,7 @@ class Proxy extends \Piwik\Plugin ...@@ -30,8 +30,7 @@ class Proxy extends \Piwik\Plugin
{ {
return array( return array(
'description' => 'Proxy services', 'description' => 'Proxy services',
'author' => 'Piwik', 'authors' => array(array('name' => 'Piwik', 'homepage' => 'http://piwik.org/')),
'author_homepage' => 'http://piwik.org/',
'version' => Version::VERSION, 'version' => Version::VERSION,
'translationAvailable' => false, 'translationAvailable' => false,
); );
......
...@@ -24,10 +24,9 @@ class SEO extends \Piwik\Plugin ...@@ -24,10 +24,9 @@ class SEO extends \Piwik\Plugin
public function getInformation() public function getInformation()
{ {
return array( 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.', 'description' => 'This Plugin extracts and displays SEO metrics: Alexa web ranking, Google Pagerank, number of Indexed pages and backlinks of the currently selected website.',
'author' => 'Piwik', 'authors' => array(array('name' => 'Piwik', 'homepage' => 'http://piwik.org/')),
'author_homepage' => 'http://piwik.org/', 'version' => Version::VERSION,
'version' => Version::VERSION,
'license' => 'GPL v3+', 'license' => 'GPL v3+',
'license_homepage' => 'http://www.gnu.org/licenses/gpl.html' 'license_homepage' => 'http://www.gnu.org/licenses/gpl.html'
); );
......
...@@ -26,10 +26,9 @@ class SegmentEditor extends \Piwik\Plugin ...@@ -26,10 +26,9 @@ class SegmentEditor extends \Piwik\Plugin
public function getInformation() public function getInformation()
{ {
return array( return array(
'description' => 'Create and reuse custom visitor Segments with the Segment Editor.', 'description' => 'Create and reuse custom visitor Segments with the Segment Editor.',
'author' => 'Piwik', 'authors' => array(array('name' => 'Piwik', 'homepage' => 'http://piwik.org/')),
'author_homepage' => 'http://piwik.org/', 'version' => Version::VERSION,
'version' => Version::VERSION,
'license' => 'GPL v3+', 'license' => 'GPL v3+',
'license_homepage' => 'http://www.gnu.org/licenses/gpl.html' 'license_homepage' => 'http://www.gnu.org/licenses/gpl.html'
); );
......
...@@ -27,11 +27,10 @@ class UserCountryMap extends \Piwik\Plugin ...@@ -27,11 +27,10 @@ class UserCountryMap extends \Piwik\Plugin
public function getInformation() public function getInformation()
{ {
return array( return array(
'name' => 'User Country Map', 'name' => 'User Country Map',
'description' => 'This plugin provides the widgets Visitor Map and Real-time Map. Note: Requires the UserCountry plugin enabled.', 'description' => 'This plugin provides the widgets Visitor Map and Real-time Map. Note: Requires the UserCountry plugin enabled.',
'author' => 'Piwik', 'authors' => array(array('name' => 'Piwik', 'homepage' => 'http://piwik.org/')),
'author_homepage' => 'http://piwik.org/', 'version' => Version::VERSION,
'version' => Version::VERSION,
'license' => 'GPL v3+', 'license' => 'GPL v3+',
'license_homepage' => 'http://www.gnu.org/licenses/gpl.html' 'license_homepage' => 'http://www.gnu.org/licenses/gpl.html'
); );
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter