summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_block.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-01-17 21:15:33 -0800
committerBharat Mediratta <bharat@menalto.com>2011-01-17 21:16:43 -0800
commit20ae106c22b9528d34fb85d09a7ab542e6c6c880 (patch)
treee33d8e70a282416802782448b114dbe52d460cb7 /modules/gallery/helpers/gallery_block.php
parentdf703fbd5cf8f3c5152cd6448dd0e08b3e48ea93 (diff)
Display a message in the "Check for Gallery upgrades" block when
there's a newer version available, even if the user has dismissed the site status message. #1605.
Diffstat (limited to 'modules/gallery/helpers/gallery_block.php')
-rw-r--r--modules/gallery/helpers/gallery_block.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_block.php b/modules/gallery/helpers/gallery_block.php
index 2189a710..fed786cc 100644
--- a/modules/gallery/helpers/gallery_block.php
+++ b/modules/gallery/helpers/gallery_block.php
@@ -111,6 +111,7 @@ class gallery_block_Core {
$block->content = new View("upgrade_checker_block.html");
$block->content->version_info = upgrade_checker::version_info();
$block->content->auto_check_enabled = upgrade_checker::auto_check_enabled();
+ $block->content->new_version = upgrade_checker::get_upgrade_message();
}
return $block;
}