default: // Do stuff when extension is loaded
// Do we have a daily-reset-run?
- if (isResetModeEnabled() && (!isDebugModeEnabled()) && ($GLOBALS['output_mode'] != 1)) {
+ if (isResetModeEnabled() && (!isDebugModeEnabled()) && (getOutputMode() != 1)) {
// So let's check for profiles which needs an update
ADD_INC_TO_POOL(sprintf("%sinc/profile-updte.php", constant('PATH')));
}