diff --git a/modules/system/system.module b/modules/system/system.module index 97e9beeba1f..4a9053c1f83 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -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; } }