#272883 by hctom and lilou: Fix wrong usage of watchdog severity.

merge-requests/26/head
Angie Byron 2008-09-02 01:08:01 +00:00
parent 9397ae69aa
commit a03345ef73
1 changed files with 1 additions and 1 deletions

View File

@ -1402,7 +1402,7 @@ function system_cron() {
// If files that exist cannot be deleted, continue so the database remains
// consistent.
if (!file_delete($file->filepath)) {
watchdog('file system', 'Could not delete temporary file "%path" during garbage collection', array('%path' => $file->filepath), 'error');
watchdog('file system', 'Could not delete temporary file "%path" during garbage collection', array('%path' => $file->filepath), WATCHDOG_ERROR);
continue;
}
}