From 177791970ee86a6653b051ee393801ad37134d70 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 26 Nov 2014 21:01:37 +0100 Subject: Lots of small bugfixes, proxy config WIP, https config WIP, translation updates, added masterpassword to pxe menu, ... --- inc/property.inc.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'inc/property.inc.php') diff --git a/inc/property.inc.php b/inc/property.inc.php index afbdf0de..dd70b8d4 100644 --- a/inc/property.inc.php +++ b/inc/property.inc.php @@ -59,9 +59,10 @@ class Property public static function setServerIp($value) { - if ($value !== self::getServerIp()) - Event::serverIpChanged(); + if ($value === self::getServerIp()) + return false; self::set('server-ip', $value); + Event::serverIpChanged(); } public static function getBootMenu() @@ -159,12 +160,12 @@ 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