mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +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.
|
// custom session id.
|
||||||
session_destroy();
|
session_destroy();
|
||||||
|
|
||||||
// we need to (re-)load our custom memcache session handler, as session_destroy unloads it somehow
|
// we need to (re-)load the eGW session-handler, as session_destroy unloads custom session-handlers
|
||||||
if (extension_loaded('memcache') && ini_get('session.save_handler') == 'user')
|
egw_session::init_handler();
|
||||||
{
|
|
||||||
session_set_save_handler("egw_memcache_open", "egw_memcache_close", "egw_memcache_read", "egw_memcache_write", "egw_memcache_destroy", "egw_memcache_gc");
|
|
||||||
}
|
|
||||||
// Reload the Horde SessionHandler if necessary.
|
// Reload the Horde SessionHandler if necessary.
|
||||||
Horde::setupSessionHandler();
|
Horde::setupSessionHandler();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user