mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
using new egw_session::init_handler()
This commit is contained in:
parent
907e24d227
commit
88827a3f3d
@ -150,11 +150,9 @@ class Horde_SyncML_SyncMLHdr extends Horde_SyncML_ContentHandler {
|
||||
// custom session id.
|
||||
session_destroy();
|
||||
|
||||
// we need to (re-)load our custom memcache session handler, as session_destroy unloads it somehow
|
||||
if (extension_loaded('memcache') && ini_get('session.save_handler') == 'user')
|
||||
{
|
||||
session_set_save_handler("egw_memcache_open", "egw_memcache_close", "egw_memcache_read", "egw_memcache_write", "egw_memcache_destroy", "egw_memcache_gc");
|
||||
}
|
||||
// we need to (re-)load the eGW session-handler, as session_destroy unloads custom session-handlers
|
||||
egw_session::init_handler();
|
||||
|
||||
// Reload the Horde SessionHandler if necessary.
|
||||
Horde::setupSessionHandler();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user