diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-03-29 09:10:52 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-03-29 09:10:52 +0400 |
commit | f30cf2077e026fb5536b110ace8be95eae209b0e (patch) | |
tree | 86adaa365da32a103cd1122aff38cf1622745bef /core/Profiler.php | |
parent | 103f5daad5500e91afd7c78513f448604de2012a (diff) |
Fixes #4924: in Tracker mode, do not check for permission when getting/setting plugin settings.
Diffstat (limited to 'core/Profiler.php')
-rw-r--r-- | core/Profiler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Profiler.php b/core/Profiler.php index 122e61f4b4..ae9c5e8b76 100644 --- a/core/Profiler.php +++ b/core/Profiler.php @@ -186,7 +186,7 @@ class Profiler */ public static function setupProfilerXHProf($mainRun = false) { - if(!empty($GLOBALS['PIWIK_TRACKER_MODE'])) { + if(SettingsServer::isTrackerApiRequest()) { // do not profile Tracker return; } |