summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-02 01:08:01 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-02 01:08:01 +0000
commita03345ef732cdb39634da36e35db45b6ac8a3f09 (patch)
treedc834a146a7fd61759ac8fb70796783e633ae1a9 /modules/system/system.module
parent9397ae69aa222f7bae15bc3cc96d1548488cef66 (diff)
downloadbrdo-a03345ef732cdb39634da36e35db45b6ac8a3f09.tar.gz
brdo-a03345ef732cdb39634da36e35db45b6ac8a3f09.tar.bz2
#272883 by hctom and lilou: Fix wrong usage of watchdog severity.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 97e9beeba..4a9053c1f 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;
}
}