diff msite.inc.php @ 454:ea7fc4e9f602

Moar work.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 06 Dec 2013 17:16:46 +0200
parents 643edf88053e
children 36835ef53346
line wrap: on
line diff
--- a/msite.inc.php	Fri Dec 06 17:09:06 2013 +0200
+++ b/msite.inc.php	Fri Dec 06 17:16:46 2013 +0200
@@ -96,6 +96,19 @@
 }
 
 
+function stSetDisplayVarUpd($name, $value)
+{
+  if (stGetDisplayVar($name) != $value)
+  {
+    stSetDisplayVar($name, $value);
+    stDisplayUpdated();
+    return TRUE;
+  }
+  else
+    return FALSE;
+}
+
+
 function stGetDisplayVar($name)
 {
   global $displayVars;