Fixed naming error in cron tasks.

This commit is contained in:
flash 2018-10-31 09:21:08 +01:00
parent 3328ef48bf
commit b89cecd0bc

View file

@ -130,7 +130,7 @@ if (PHP_SAPI === 'cli') {
// Deletes expired sessions
db_exec('
DELETE FROM `msz_sessions`
WHERE `expires_on` < NOW()
WHERE `session_expires` < NOW()
');
// Remove old password reset records, left for a week for possible review