Commit 7206781b authored by mikeytown2's avatar mikeytown2

#620636: Make satus block rendering of this optional.

parent c4437518
......@@ -847,7 +847,9 @@ function boost_block($op = 'list', $delta = 0, $edit = array()) {
$ttl = boost_db_get_ttl($filename);
$generate = boost_get_generation_time($filename);
$output = '';
$output .= t('Site Has Changed: %old<br />', array('%old' => boost_has_site_changed() ? 'True' : 'False'));
if (BOOST_CHECK_BEFORE_CRON_EXPIRE) {
$output .= t('Site Has Changed: %old<br />', array('%old' => boost_has_site_changed() ? 'True' : 'False'));
}
if ($ttl < 0) {
$output .= t('<strong>Expired: %interval ago</strong><br />', array('%interval' => format_interval(abs($ttl))));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment