diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-03-31 18:24:46 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-03-31 18:24:46 +0000 |
commit | 763298455f88e26f286749b5f7ff6c9471742012 (patch) | |
tree | b20dd8dedf64e5b0f6db6f0388064fcdf1c0735c | |
parent | 771950b15db128eccd8db537092f755947d938ff (diff) | |
download | brdo-763298455f88e26f286749b5f7ff6c9471742012.tar.gz brdo-763298455f88e26f286749b5f7ff6c9471742012.tar.bz2 |
- Patch #238564 by scor: missing t() functions in the operations parameter of watchdog().
-rw-r--r-- | modules/update/update.fetch.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/update/update.fetch.inc b/modules/update/update.fetch.inc index da5c695be..3edda9cd1 100644 --- a/modules/update/update.fetch.inc +++ b/modules/update/update.fetch.inc @@ -54,11 +54,11 @@ function _update_refresh() { $frequency = variable_get('update_check_frequency', 1); cache_set('update_info', $available, 'cache_update', time() + (60 * 60 * 24 * $frequency)); variable_set('update_last_check', time()); - watchdog('update', 'Fetched information about all available new releases and updates.', array(), WATCHDOG_NOTICE, l('view', 'admin/reports/updates')); + watchdog('update', 'Fetched information about all available new releases and updates.', array(), WATCHDOG_NOTICE, l(t('view'), 'admin/reports/updates')); } else { module_invoke('system', 'check_http_request'); - watchdog('update', 'Unable to fetch any information about available new releases and updates.', array(), WATCHDOG_ERROR, l('view', 'admin/reports/updates')); + watchdog('update', 'Unable to fetch any information about available new releases and updates.', array(), WATCHDOG_ERROR, l(t('view'), 'admin/reports/updates')); } return $available; } |