From 358842a847ce67632204135bbb3c9c8f2267f243 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 16 Oct 2014 11:35:14 +0200 Subject: Show notice in menu bar if setup is incomplete --- inc/property.inc.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'inc/property.inc.php') 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'); + } } -- cgit v1.2.3-55-g7522