]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/timezone_filter.php
Moved "fix" files (which only helps to fix stuff) in own inc/fixes/ folder.
[mailer.git] / inc / filter / timezone_filter.php
index 7ff31c151b7e433d9f7cd8d7bb959dd379a75fbd..ac5e4724f4afc7e62f072f8098ec7873bfb7b57a 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -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]