From c1b5c774a35df1952148d6550fce6e77f81c2bf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= <gabor@hojtsy.hu>
Date: Tue, 22 Jan 2008 18:20:25 +0000
Subject: [PATCH] Outdated use of watchdog() noticed while creating translation
 templates

---
 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 35b8999beaea..b35092fb2345 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1224,7 +1224,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', t('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), 'error');
         continue;
       }
     }
-- 
GitLab