summaryrefslogtreecommitdiff
path: root/core/libraries/Theme_View.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-30 04:13:31 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-30 04:13:31 +0000
commitd7d37d07dd543a8d7326aa9502dc2271da0c8c99 (patch)
tree7e75fd133facc7403696ed99a89a0707f3df4fee /core/libraries/Theme_View.php
parent5f14623a47006a4e9ef981e95f09f7932862c29f (diff)
Add site_status() to the regular Theme_View
Diffstat (limited to 'core/libraries/Theme_View.php')
-rw-r--r--core/libraries/Theme_View.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php
index 37507a70..d4e7019e 100644
--- a/core/libraries/Theme_View.php
+++ b/core/libraries/Theme_View.php
@@ -86,6 +86,13 @@ class Theme_View_Core extends View {
}
/**
+ * Print out any site wide status information.
+ */
+ public function site_status() {
+ return site_status::get();
+ }
+
+ /**
* Print out any messages waiting for this user.
*/
public function messages() {