Move checkResources() to Kronolith::, and out of the concrete Event_Sql driver.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 11 Sep 2009 23:42:07 +0000 (19:42 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 29 Sep 2009 20:53:54 +0000 (16:53 -0400)
commit04069c8914935391d3113e93098da03dccc96e8d
treee80a2cba6df95f083ccc12718f02d70562e271e6
parent35426f8b5b6c3dd1c2ac4c8a08f383be126ece83
Move checkResources() to Kronolith::, and out of the concrete Event_Sql driver.

Move code for auto-accepting resources out of the Event driver and put
it into Kronolith:: Call it from Kronolith_Event::save() method (not 100%
sure about leaving it there, or just calling it in client code before saving
where appropriate).
kronolith/lib/Driver/Sql.php
kronolith/lib/Event.php
kronolith/lib/Event/Sql.php
kronolith/lib/Kronolith.php