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:
authorThomas Steur <thomas.steur@gmail.com>2015-07-03 03:54:27 +0300
committersgiehl <stefan@piwik.org>2015-10-06 18:25:13 +0300
commit9ba8f216fd7856ce5fef06bf82ecb8f8a2e7e630 (patch)
tree6ce07d18a85d00b39ab720abe042361c0775aead /plugins/UserLanguage/Reports/GetLanguageCode.php
parent8ccc9dc05da021325cdbf141a548637fa52f16b2 (diff)
generate pages instead of implementing them in each controller
Diffstat (limited to 'plugins/UserLanguage/Reports/GetLanguageCode.php')
-rw-r--r--plugins/UserLanguage/Reports/GetLanguageCode.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserLanguage/Reports/GetLanguageCode.php b/plugins/UserLanguage/Reports/GetLanguageCode.php
index 0ca2c64bb2..9d9a46f201 100644
--- a/plugins/UserLanguage/Reports/GetLanguageCode.php
+++ b/plugins/UserLanguage/Reports/GetLanguageCode.php
@@ -10,6 +10,7 @@ namespace Piwik\Plugins\UserLanguage\Reports;
use Piwik\Piwik;
use Piwik\Plugins\UserLanguage\Columns\Language;
+use Piwik\Plugin\Reports;
class GetLanguageCode extends GetLanguage
{
@@ -20,13 +21,12 @@ class GetLanguageCode extends GetLanguage
$this->name = Piwik::translate('UserLanguage_LanguageCode');
$this->documentation = '';
$this->order = 11;
- $this->widgetTitle = 'UserLanguage_LanguageCode';
}
public function getRelatedReports()
{
return array(
- self::factory('UserLanguage', 'getLanguage'),
+ Reports::factory('UserLanguage', 'getLanguage'),
);
}