Update to new session initialization (Bug #9314).
authorJan Schneider <jan@horde.org>
Tue, 19 Oct 2010 16:33:42 +0000 (18:33 +0200)
committerJan Schneider <jan@horde.org>
Tue, 19 Oct 2010 16:33:42 +0000 (18:33 +0200)
framework/SyncML/SyncML/Backend/Horde.php

index f9616d3..9851476 100644 (file)
@@ -65,7 +65,7 @@ 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['registry']->setupSessionHandler(false);
+            $GLOBALS['session'] = new Horde_Session(false);
         }
 
         parent::sessionStart($syncDeviceID, $sessionId, $backendMode);