Horde_Session#unset() doesn't exist.
authorJan Schneider <jan@horde.org>
Fri, 10 Dec 2010 18:04:01 +0000 (19:04 +0100)
committerJan Schneider <jan@horde.org>
Fri, 10 Dec 2010 18:12:01 +0000 (19:12 +0100)
vilma/lib/Vilma.php

index 5d9a04b..944406d 100644 (file)
@@ -85,11 +85,7 @@ class Vilma
      */
     static public function setCurDomain($domain = null)
     {
-        if ($domain) {
-            $GLOBALS['session']->set('vilma', 'domain', $domain);
-        } else {
-            $GLOBALS['session']->unset('vilma', 'domain');
-        }
+        $GLOBALS['session']->set('vilma', 'domain', $domain);
     }
 
     /**