diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-01-31 16:50:57 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-01-31 16:50:57 +0000 |
commit | 2c381622a5bd3ab5b22077348a088bb54ca202dc (patch) | |
tree | e11c0ecbdb81b067acbeb7b6fa16cd34e8147f1a /modules/system/system.api.php | |
parent | 9544110e01816cd78e73a6756f856d2d8b07bbd1 (diff) | |
download | brdo-2c381622a5bd3ab5b22077348a088bb54ca202dc.tar.gz brdo-2c381622a5bd3ab5b22077348a088bb54ca202dc.tar.bz2 |
#88264 by Rob Loach and kscheirer: Make variable_get()'s defaultparameter default to NULL so that NULLs do not need to be specified.
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 2 |
1 files changed, 1 insertions, 1 deletions
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))); |