]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/task_functions.php
Default wait time now 60 seconds, some fixes
[mailer.git] / inc / libs / task_functions.php
index d02865c36c2c3783d427069ee8a80c83b0a11f67..2b34fa214c31b1c3dbe221b980c2baf20c4495d7 100644 (file)
@@ -336,6 +336,14 @@ ORDER BY d.userid";
                $TITLEs[] = TASK_ADMIN_LIST_HOLIDAYS_TITLE;
        }
 
+       if (GET_EXT_VERSION("bonus") >= "0.8.7") {
+               // List all notifications
+               $SQLs[]   = "SELECT id FROM "._MYSQL_PREFIX."_bonus WHERE is_notify='Y' ORDER BY timestamp DESC";
+               $WHATs[]  = "list_notifications";
+               $DESCRs[] = TASK_ADMIN_LIST_NOTIFICATIONS;
+               $TITLEs[] = TASK_ADMIN_LIST_NOTIFICATIONS_TITLE;
+       } // END - if
+
        if (GET_EXT_VERSION("bonus") >= "0.2.3") {
                // Active rallye
                if (GET_EXT_VERSION("bonus") >= "0.6.9") {
@@ -366,14 +374,6 @@ ORDER BY active_bonus DESC, userid";
                $WHATs[]  = "list_bonus";
                $DESCRs[] = TASK_ADMIN_LIST_BONUS;
                $TITLEs[] = TASK_ADMIN_LIST_BONUS_TITLE;
-
-               if (GET_EXT_VERSION("bonus") >= "0.8.7") {
-                       // List all notifications
-                       $SQLs[]   = "SELECT id FROM "._MYSQL_PREFIX."_bonus WHERE is_notify='Y' ORDER BY timestamp DESC";
-                       $WHATs[]  = "list_notifications";
-                       $DESCRs[] = TASK_ADMIN_LIST_NOTIFICATIONS;
-                       $TITLEs[] = TASK_ADMIN_LIST_NOTIFICATIONS_TITLE;
-               }
        }
 
        if (GET_EXT_VERSION("beg") >= "0.1.2") {