Add XDB::runTransaction($callback, $arg1, $arg2, $arg2...) to run a
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 7 Oct 2010 12:21:33 +0000 (14:21 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 7 Oct 2010 12:21:33 +0000 (14:21 +0200)
commitf23d33e1b114e9032b4b966baebdeb14b4215313
treeae3a41ea24084ef4d879f9a6dafdd7bfbe72780d
parente49b22c0de68ab13d41c9e2160584fe8964cff46
Add XDB::runTransaction($callback, $arg1, $arg2, $arg2...) to run a
callback as a SQL transaction with automatic commit/rollback in case of
success/failure.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/xdb.php