Use Horde_Lock to lock the resource calendar.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 28 Sep 2009 21:55:08 +0000 (17:55 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 29 Sep 2009 20:53:58 +0000 (16:53 -0400)
commit2ca9b6f72c39210abadde2ddd88ed5543dfb58b1
tree1230a6741cd4af7c0bb87da9e6831afab9bff5e0
parent175d88ff8782699347b27161471748c989dffcd6
Use Horde_Lock to lock the resource calendar.

Lock the resource calnedar right before we check availability, and
unlock it either after the invitation is denied, or if accepted,
after the event is added to the resource's calendar.
kronolith/lib/Event.php