From: Roland Häder Date: Mon, 23 Aug 2010 13:08:20 +0000 (+0000) Subject: Even more code moved, thanks to km4l again. :) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=54cbce0f80cc7c8aefb856f33d97cde1898e47a5;p=mailer.git Even more code moved, thanks to km4l again. :) --- diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index 50b59eec88..2df58958b2 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -35,9 +35,9 @@ ./inc/extensions/ext-rallye.php:94: // @TODO Fix config_rallye_prices to list_rallye_prices ./inc/extensions/ext-yoomedia.php:123: // @TODO Can this be moved into a database table? ./inc/extensions/ext-yoomedia.php:56:// @TODO Only deprecated when 'ext-network' is ready! setExtensionDeprecated('Y'); -./inc/extensions-functions.php:152: // @TODO Do we still need this? setExtensionUpdateNotes(''); -./inc/extensions-functions.php:434:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) ) -./inc/extensions-functions.php:564: // @TODO Extension is loaded, what next? +./inc/extensions-functions.php:154: // @TODO Do we still need this? setExtensionUpdateNotes(''); +./inc/extensions-functions.php:436:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) ) +./inc/extensions-functions.php:566: // @TODO Extension is loaded, what next? ./inc/functions.php:112: // @TODO Extension 'msg' does not exist ./inc/functions.php:1496: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ? ./inc/functions.php:1519: // @TODO Rewrite this old lost code to a template diff --git a/inc/databases.php b/inc/databases.php index 7b61176b96..42a856ae3f 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -96,10 +96,6 @@ $GLOBALS['replacer'] = array( // One day setConfigEntry('ONE_DAY', (60*60*24)); -// Timestamp for yesterday, today ... all at 00:00 am -setConfigEntry('START_YDAY', makeTime(0, 0, 0, time() - getConfig('ONE_DAY'))); -setConfigEntry('START_TDAY', makeTime(0, 0, 0, time())); - // HTTP-EOL setConfigEntry('HTTP_EOL', "\r\n"); diff --git a/inc/filters.php b/inc/filters.php index b68274ccb2..9b9bb0e3e9 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -1020,6 +1020,10 @@ function FILTER_CLEANUP_DNS_CACHE () { function FILTER_SET_CURRENT_DATE () { // Set current date setConfigEntry('CURRENT_DATE', generateDateTime(time(), '3')); + + // Timestamp for yesterday, today ... all at 00:00 am + setConfigEntry('START_YDAY', makeTime(0, 0, 0, time() - getConfig('ONE_DAY'))); + setConfigEntry('START_TDAY', makeTime(0, 0, 0, time())); } // [EOF]