*/
public function getStorage()
{
- $storage = new Horde_Kolab_Session_Storage_Sessionobjects(
- new Horde_SessionObjects()
+ return new Horde_Kolab_Session_Storage_Session(
+ $GLOBALS['session']
);
- return $storage;
}
/**
*
* @return Horde_Kolab_Session The session handler.
*/
- public function getSession()
+ public function create()
{
$storage = $this->_injector->getInstance('Horde_Kolab_Session_Storage_Interface');
$session = $storage->load();