]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/timezone_filter.php
Several code cleanups:
[mailer.git] / inc / filter / timezone_filter.php
index 7ff31c151b7e433d9f7cd8d7bb959dd379a75fbd..699e4ce16be7b85d8d6f765ef4048668aacfd1bb 100644 (file)
@@ -41,12 +41,17 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Filter for setting the timezone
-function FILTER_INIT_TIMEZONE () {
+function FILTER_INIT_TIMEZONE ($filterData) {
        // Just set it if the required function is there
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
        if (function_exists('date_default_timezone_set')) {
                // CFG: TIME-ZONE
                date_default_timezone_set(getConfig('timezone'));
        } // END - if
+
+       // Return data
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $filterData;
 }
 
 // [EOF]