summaryrefslogtreecommitdiff
path: root/modules/update/update.report.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/update/update.report.inc')
-rw-r--r--modules/update/update.report.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/update/update.report.inc b/modules/update/update.report.inc
index 88e1cc986..f143bccbb 100644
--- a/modules/update/update.report.inc
+++ b/modules/update/update.report.inc
@@ -29,9 +29,7 @@ function theme_update_report($variables) {
$data = $variables['data'];
$last = variable_get('update_last_check', 0);
- $output = '<div class="update checked">' . ($last ? t('Last checked: @timestamp (@time ago)', array('@time' => format_interval(REQUEST_TIME - $last), '@timestamp' => format_date($last))) : t('Last checked: never'));
- $output .= ' <span class="check-manually">(' . l(t('Check manually'), 'admin/reports/updates/check') . ')</span>';
- $output .= "</div>\n";
+ $output = theme('update_last_check', array('last' => $last));
if (!is_array($data)) {
$output .= '<p>' . $data . '</p>';