* *
* -------------------------------------------------------------------- *
* File : holiday_functions.php *
* *
* -------------------------------------------------------------------- *
* File : holiday_functions.php *
* Needs to be in all Files and every File needs "svn propset *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Needs to be in all Files and every File needs "svn propset *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Let's find some expired holiday requests...
$result_stop = SQL_QUERY("SELECT
`userid`, `holiday_start`, `holiday_end`, `comments`
FROM
// Let's find some expired holiday requests...
$result_stop = SQL_QUERY("SELECT
`userid`, `holiday_start`, `holiday_end`, `comments`
FROM
array(bigintval($content['userid'])), __FUNCTION__, __LINE__, false));
// Unlock account
array(bigintval($content['userid'])), __FUNCTION__, __LINE__, false));
// Unlock account
- '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),
sendEmail($content['userid'], getMessage('HOLIDAY_MEMBER_UNLOCK_SUBJ'), $message);
// Remember userid for admin
sendEmail($content['userid'], getMessage('HOLIDAY_MEMBER_UNLOCK_SUBJ'), $message);
// Remember userid for admin
- sendAdminNotification(getMessage('HOLIDAY_ADMIN_UNLOCK_SUBJ'), 'admin_holiday_unlock', $admin, '0');
+ sendAdminNotification(getMessage('HOLIDAY_ADMIN_UNLOCK_SUBJ'), 'admin_holiday_unlock', $admin, 0);