]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
Added separate debugging of 'hourly' reset
[mailer.git] / inc / filters.php
index 987d89326a400dc245781cbb4c87b923cc81953e..78aef62f1f71b4b1a60c55ebcea6b5612e57ed59 100644 (file)
@@ -590,7 +590,7 @@ function FILTER_RUN_HOURLY_INCLUDES () {
        setIncludePool('hourly', getArrayFromDirectory('inc/hourly/', 'hourly_'));
 
        // Update database
-       if ((!isConfigEntrySet('DEBUG_RESET')) || (!isDebugResetEnabled())) {
+       if ((!isConfigEntrySet('DEBUG_HOURLY')) || (!isDebugHourlyEnabled())) {
                updateConfiguration('last_hour', getHour());
        } // END - if
 
@@ -825,7 +825,7 @@ function FILTER_RUN_HOURLY_RESET () {
        } // END - if
 
        // Shall we run the reset scripts? If a day has changed, maybe also a week/month has changed... Simple! :D
-       if ((((isConfigEntrySet('last_hour')) && (getConfig('last_hour') != getHour())) || (isDebugResetEnabled())) && (!isInstallationPhase()) && (isAdminRegistered()) && (!isGetRequestElementSet('register')) && (!isCssOutputMode())) {
+       if ((((isConfigEntrySet('last_hour')) && (getConfig('last_hour') != getHour())) || (isDebugHourlyEnabled())) && (!isInstallationPhase()) && (isAdminRegistered()) && (!isGetRequestElementSet('register')) && (!isCssOutputMode())) {
                // Tell every module we are in reset-mode!
                doHourly();
        } // END - if