From f30cf2077e026fb5536b110ace8be95eae209b0e Mon Sep 17 00:00:00 2001 From: mattab Date: Sat, 29 Mar 2014 18:10:52 +1300 Subject: Fixes #4924: in Tracker mode, do not check for permission when getting/setting plugin settings. --- core/Profiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Profiler.php') 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; } -- cgit v1.2.3