Save profile within a SQL transaction in order to avoid inconsistent
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 11 Oct 2010 14:38:40 +0000 (16:38 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 11 Oct 2010 14:38:40 +0000 (16:38 +0200)
commit31cbd100e5e5441b77cc04ed9e353099033cca48
tree7387bbf1809dc52b66e594ac8f3180bba6d63a74
parent0fc3d4a7abbfa9926170235ca896fef8d14db521
Save profile within a SQL transaction in order to avoid inconsistent
states if a SQL error occurs while saving the changes.

This change should not have any consequence if the site behave normally
but may improve robustness in case of code errors.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/profile/page.inc.php