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:
authorMatthieu Aubry <matt@piwik.org>2015-06-09 04:53:21 +0300
committerMatthieu Aubry <matt@piwik.org>2015-06-09 04:53:21 +0300
commit44a75228edf9fb1841d8b5dbf126861073bf018f (patch)
tree54e343586ac20a730e9e7bd1a471a561e1a36790 /plugins/UserCountryMap
parentf34dd5f573bcb9164137d898699f21fa565f2f28 (diff)
parent7202dce4be4ded99b087c83aa7afa632a49a8611 (diff)
Merge pull request #8065 from piwik/6061
Migrate all core plugins to use plugin.json instead of getInformation()
Diffstat (limited to 'plugins/UserCountryMap')
-rw-r--r--plugins/UserCountryMap/UserCountryMap.php15
-rw-r--r--plugins/UserCountryMap/lang/en.json1
2 files changed, 1 insertions, 15 deletions
diff --git a/plugins/UserCountryMap/UserCountryMap.php b/plugins/UserCountryMap/UserCountryMap.php
index 4d385d7f00..d351054b45 100644
--- a/plugins/UserCountryMap/UserCountryMap.php
+++ b/plugins/UserCountryMap/UserCountryMap.php
@@ -18,21 +18,6 @@ use Piwik\Plugin\Manager as PluginManager;
*/
class UserCountryMap extends \Piwik\Plugin
{
- /**
- * @see Piwik\Plugin::getInformation
- */
- public function getInformation()
- {
- return array(
- 'name' => 'User Country Map',
- 'description' => 'This plugin provides the widgets Visitor Map and Real-time Map. Note: Requires the UserCountry plugin enabled.',
- 'authors' => array(array('name' => 'Piwik', 'homepage' => 'http://piwik.org/')),
- 'version' => Version::VERSION,
- 'license' => 'GPL v3+',
- 'license_homepage' => 'http://www.gnu.org/licenses/gpl.html'
- );
- }
-
public function postLoad()
{
Piwik::addAction('Template.leftColumnUserCountry', array('Piwik\Plugins\UserCountryMap\UserCountryMap', 'insertMapInLocationReport'));
diff --git a/plugins/UserCountryMap/lang/en.json b/plugins/UserCountryMap/lang/en.json
index a59234d393..20070062dd 100644
--- a/plugins/UserCountryMap/lang/en.json
+++ b/plugins/UserCountryMap/lang/en.json
@@ -1,5 +1,6 @@
{
"UserCountryMap": {
+ "PluginDescription": "This plugin provides the widgets Visitor Map and Real-time Map. Note: Requires the UserCountry plugin enabled.",
"AndNOthers": "and %s others",
"Cities": "Cities",
"Countries": "Countries",