diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-07-01 07:57:16 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-07-01 07:57:16 +0400 |
commit | ca1325bbec9ef76facfaab8980a0ac97861e3e54 (patch) | |
tree | 23903669912863f342766d948f86de24f7374173 /plugins/DevicesDetection/Controller.php | |
parent | 1b35b77d93df7d28c33a3d5483829d41343e9227 (diff) |
Minor
Diffstat (limited to 'plugins/DevicesDetection/Controller.php')
-rw-r--r-- | plugins/DevicesDetection/Controller.php | 1 |
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) { |