Fix session initialization again.
authorJan Schneider <jan@horde.org>
Tue, 19 Oct 2010 17:24:05 +0000 (19:24 +0200)
committerJan Schneider <jan@horde.org>
Wed, 20 Oct 2010 15:13:13 +0000 (17:13 +0200)
framework/SyncML/SyncML/Backend/Horde.php

index 9851476..1a9d438 100644 (file)
@@ -65,7 +65,8 @@ class SyncML_Backend_Horde extends SyncML_Backend {
         /* Only the server needs to start a session. */
         if ($this->_backendMode == SYNCML_BACKENDMODE_SERVER) {
             /* Reload the Horde SessionHandler if necessary. */
-            $GLOBALS['session'] = new Horde_Session(false);
+            $GLOBALS['session'] = new Horde_Session();
+            $GLOBALS['session']->start(false);
         }
 
         parent::sessionStart($syncDeviceID, $sessionId, $backendMode);