Fix subject of database error log email sent during cron maintenance

This commit is contained in:
Chris Morgan
2007-06-16 03:35:05 +00:00
committed by WineHQ
parent dd5edba2ed
commit 00ccd7b18b
2 changed files with 4 additions and 3 deletions

View File

@@ -251,9 +251,10 @@ function orphanSessionListCheck()
$hResult = query_parameters($sQuery, SESSION_DAYS_TO_EXPIRE + 2);
}
// report the database error log entries to the mailing list
function reportErrorLogEntries()
{
error_log::mail_admins_error_log();
error_log::mail_admins_error_log($sEmailSubject);
error_log::flush();
}