projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bf014fc
)
Fixes for reset (missing config entries)
author
Roland Häder
<roland@mxchange.org>
Sat, 31 Oct 2009 14:55:27 +0000
(14:55 +0000)
committer
Roland Häder
<roland@mxchange.org>
Sat, 31 Oct 2009 14:55:27 +0000
(14:55 +0000)
inc/filters.php
patch
|
blob
|
history
diff --git
a/inc/filters.php
b/inc/filters.php
index 4204fbb3c1f2f57926af7ebdd631306282a1e968..99dfa919cc13d3733e3c22dfa6ac7ef5c890ca65 100644
(file)
--- a/
inc/filters.php
+++ b/
inc/filters.php
@@
-510,7
+510,7
@@
function FILTER_RUN_RESET_INCLUDES () {
mergeIncludePool('reset', getArrayFromDirectory('inc/weekly/', 'weekly_'));
// Update config
mergeIncludePool('reset', getArrayFromDirectory('inc/weekly/', 'weekly_'));
// Update config
- if (
getConfig('DEBUG_WEEKLY') != 'Y'
) updateConfiguration('last_week', $currWeek);
+ if (
(!isConfigEntrySet('DEBUG_WEEKLY')) && (getConfig('DEBUG_WEEKLY') != 'Y')
) updateConfiguration('last_week', $currWeek);
} // END - if
// Create current month mark
} // END - if
// Create current month mark
@@
-522,7
+522,7
@@
function FILTER_RUN_RESET_INCLUDES () {
mergeIncludePool('reset', getArrayFromDirectory('inc/monthly/', 'monthly_'));
// Update config
mergeIncludePool('reset', getArrayFromDirectory('inc/monthly/', 'monthly_'));
// Update config
- if (
getConfig('DEBUG_MONTHLY') != 'Y'
) updateConfiguration('last_month', $currMonth);
+ if (
(!isConfigEntrySet('DEBUG_MONTHLY')) && (getConfig('DEBUG_MONTHLY') != 'Y')
) updateConfiguration('last_month', $currMonth);
} // END - if
} // END - if
} // END - if
} // END - if