Task extension now shows Primera requests
authorRoland Häder <roland@mxchange.org>
Tue, 9 Sep 2008 19:57:04 +0000 (19:57 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 9 Sep 2008 19:57:04 +0000 (19:57 +0000)
inc/libs/task_functions.php

index bd2f711..e718569 100644 (file)
@@ -323,6 +323,14 @@ ORDER BY d.userid";
                $TITLEs[] = TASK_ADMIN_LIST_WERNIS_ALL_TITLE;
        }
 
+       if (EXT_IS_ACTIVE("primera")) {
+               // List new primera requests
+               $SQLs[]   = "SELECT userid FROM "._MYSQL_PREFIX."_user_primera ORDER BY userid";
+               $WHATs[]  = "list_primera";
+               $DESCRs[] = TASK_ADMIN_LIST_PRIMERA_ALL;
+               $TITLEs[] = TASK_ADMIN_LIST_PRIMERA_ALL_TITLE;
+       }
+
        if (EXT_IS_ACTIVE("holiday")) {
                // List holiday requests
                $SQLs[]   = "SELECT userid FROM "._MYSQL_PREFIX."_user_holidays ORDER BY userid";