diff options
author | Simon Rettberg | 2014-10-16 11:35:14 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-10-16 11:35:14 +0200 |
commit | 358842a847ce67632204135bbb3c9c8f2267f243 (patch) | |
tree | 04d81e475f9faa2d181c62efa8c32a80a1fb8013 /inc | |
parent | Do a chdir in api.php to the script dir to simplify cmdline calls (diff) | |
download | slx-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')
-rw-r--r-- | inc/property.inc.php | 10 |
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'); + } } |