]> 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 0d4d06d50de9b342cc5c8e6bb5743d527e546cd3..90c119fd899c629461e4cafe91d263f294093a9b 100644 (file)
@@ -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');