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:
authormattab <matthieu.aubry@gmail.com>2013-07-01 07:57:16 +0400
committermattab <matthieu.aubry@gmail.com>2013-07-01 07:57:16 +0400
commitca1325bbec9ef76facfaab8980a0ac97861e3e54 (patch)
tree23903669912863f342766d948f86de24f7374173 /plugins/DevicesDetection/Controller.php
parent1b35b77d93df7d28c33a3d5483829d41343e9227 (diff)
Minor
Diffstat (limited to 'plugins/DevicesDetection/Controller.php')
-rw-r--r--plugins/DevicesDetection/Controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/DevicesDetection/Controller.php b/plugins/DevicesDetection/Controller.php
index 6f3a3aed0a..56ee810556 100644
--- a/plugins/DevicesDetection/Controller.php
+++ b/plugins/DevicesDetection/Controller.php
@@ -132,6 +132,7 @@ class Piwik_DevicesDetection_Controller extends Piwik_Controller
*/
public function refreshParsedUserAgents()
{
+ Piwik::checkUserIsSuperUser();
$q = "SELECT idvisit, config_debug_ua FROM " . Piwik_Common::prefixTable("log_visit");
$res = Piwik_FetchAll($q);
foreach ($res as $rec) {