From a03345ef732cdb39634da36e35db45b6ac8a3f09 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 2 Sep 2008 01:08:01 +0000 Subject: [PATCH] #272883 by hctom and lilou: Fix wrong usage of watchdog severity. --- modules/system/system.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }