]> 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 65e2b40b33a1457c1a38fef170ea314c9db8fdd0..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                            *
@@ -60,7 +60,7 @@ ORDER BY
 
                // Process all found entries
                while ($content = SQL_FETCHARRAY($result_stop)) {
-                       // Stop2 holiday
+                       // Stop holiday
                        addSql(SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_user_holidays` WHERE `userid`=%s LIMIT 1",
                                array(bigintval($content['userid'])), __FUNCTION__, __LINE__, false));
 
@@ -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');