]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-profile.php
'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / extensions / ext-profile.php
index 8edcb43f20c6fcad769f05a4230b2ab1af29c96c..0947f988cca3eaa29fe28198037293d82b8359b8 100644 (file)
@@ -128,7 +128,7 @@ switch ($EXT_LOAD_MODE)
 
                        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')));
                                }