From e405fc0e976cd12b18ba7b9d43a60cb58e94c14b Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 30 Mar 2010 20:22:06 -0400 Subject: [PATCH] Another place to ensure the state directory exists --- framework/ActiveSync/lib/Horde/ActiveSync/State/File.php | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php b/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php index 83e9d6548..b430658e0 100644 --- a/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php +++ b/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php @@ -476,6 +476,7 @@ class Horde_ActiveSync_State_File extends Horde_ActiveSync_State_Base if (empty($this->_pingState)) { throw new Horde_ActiveSync_Exception('PING state not initialized'); } + $this->_ensureUserDirectory(); $state = serialize(array('lifetime' => $this->_pingState['lifetime'], 'collections' => $this->_pingState['collections'])); -- 2.11.0