]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/holiday_functions.php
Some SQLs rewritten, unneccessary parameter removed
[mailer.git] / inc / libs / holiday_functions.php
index 2ddd8df6870217a9aa2e3eccc0263c663e0c11f5..90c119fd899c629461e4cafe91d263f294093a9b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 07/31/2003 *
- * ===============                              Last change: 08/02/2003 *
+ * Mailer v0.2.1-FINAL                                Start: 07/31/2003 *
+ * ===================                          Last change: 08/02/2003 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : holiday_functions.php                            *
@@ -76,8 +76,8 @@ LIMIT 1",
 
                        // Prepare array
                        $content = array(
-                               'holiday_end'      => generateDateTime($content['holiday_end']  , '3'),
-                               'holiday_start'    => generateDateTime($content['holiday_start'], '3'),
+                               'holiday_end'      => generateDateTime($content['holiday_end']  , 3),
+                               'holiday_start'    => generateDateTime($content['holiday_start'], 3),
                                'holiday_comments' => $content['comments']
                        );
 
@@ -90,7 +90,7 @@ LIMIT 1",
                } // END - if
 
                // Send mail to admins
-               sendAdminNotification(getMessage('HOLIDAY_ADMIN_UNLOCK_SUBJ'), 'admin_holiday_unlock', $admin, '0');
+               sendAdminNotification(getMessage('HOLIDAY_ADMIN_UNLOCK_SUBJ'), 'admin_holiday_unlock', $admin);
 
                // Run all SQLs
                runFilterChain('run_sqls');