summaryrefslogtreecommitdiffstats
path: root/inc/property.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-10-16 11:35:14 +0200
committerSimon Rettberg2014-10-16 11:35:14 +0200
commit358842a847ce67632204135bbb3c9c8f2267f243 (patch)
tree04d81e475f9faa2d181c62efa8c32a80a1fb8013 /inc/property.inc.php
parentDo a chdir in api.php to the script dir to simplify cmdline calls (diff)
downloadslx-admin-358842a847ce67632204135bbb3c9c8f2267f243.tar.gz
slx-admin-358842a847ce67632204135bbb3c9c8f2267f243.tar.xz
slx-admin-358842a847ce67632204135bbb3c9c8f2267f243.zip
Show notice in menu bar if setup is incomplete
Diffstat (limited to 'inc/property.inc.php')
-rw-r--r--inc/property.inc.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/property.inc.php b/inc/property.inc.php
index e4b4340b..afbdf0de 100644
--- a/inc/property.inc.php
+++ b/inc/property.inc.php
@@ -159,5 +159,15 @@ class Property
{
return self::get('last-warn-event-id', 0);
}
+
+ public static function setNeedsSetup($value)
+ {
+ self::set('needs-setup', $value);
+ }
+
+ public static function getNeedsSetup()
+ {
+ return self::get('needs-setup');
+ }
}