From 2c381622a5bd3ab5b22077348a088bb54ca202dc Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 31 Jan 2009 16:50:57 +0000 Subject: #88264 by Rob Loach and kscheirer: Make variable_get()'s defaultparameter default to NULL so that NULLs do not need to be specified. --- modules/system/system.api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system/system.api.php') diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 9fc2457fb..7e5e2e7e7 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -1322,7 +1322,7 @@ function hook_requirements($phase) { // Report cron status if ($phase == 'runtime') { - $cron_last = variable_get('cron_last', NULL); + $cron_last = variable_get('cron_last'); if (is_numeric($cron_last)) { $requirements['cron']['value'] = $t('Last run !time ago', array('!time' => format_interval(REQUEST_TIME - $cron_last))); -- cgit v1.2.3