]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-timezone.php
Removed comment introduced by Profi-Concept, this comment should fine (in a much...
[mailer.git] / inc / extensions / ext-timezone.php
index 6346b025164ad1b498a2d2976a803aa51bc346a7..90a8bc26f43c55f051ad32eaa96c97e2ea053d6d 100644 (file)
@@ -14,8 +14,6 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
@@ -57,7 +55,7 @@ switch (getExtensionMode()) {
                addAdminMenuSql('setup','config_timezone','Zeitzone','Einstellungen an der Zeitzone können hier konfiguriert werden.',10);
 
                // Register filter
-               registerFilter('init', 'INIT_TIMEZONE', false, true, getExtensionDryRun());
+               registerFilter('init', 'INIT_TIMEZONE', false, true, isExtensionDryRun());
                break;
 
        case 'remove': // Do stuff when removing extension
@@ -65,7 +63,7 @@ switch (getExtensionMode()) {
                addExtensionSQL("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `what`='config_timezone' LIMIT 1");
 
                // Unregister filter
-               unregisterFilter('init', 'INIT_TIMEZONE', true, getExtensionDryRun());
+               unregisterFilter(__FUNCTION__, __LINE__, 'init', 'INIT_TIMEZONE', true, isExtensionDryRun());
                break;
 
        case 'activate': // Do stuff when admin activates this extension