From: Aaron Schulz Date: Sun, 13 Nov 2011 12:35:28 +0000 (+0000) Subject: Removed transaction in saveOptions(). No reason was given for it and it could break... X-Git-Tag: 1.31.0-rc.0~26534 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=54e44e573a94dff89f8cdf940dab95b8e58df765;p=lhc%2Fweb%2Fwiklou.git Removed transaction in saveOptions(). No reason was given for it and it could break any callers that have transactions. --- diff --git a/includes/User.php b/includes/User.php index 074eeecaf6..b879fbb733 100644 --- a/includes/User.php +++ b/includes/User.php @@ -4107,10 +4107,8 @@ class User { } } - $dbw->begin(); $dbw->delete( 'user_properties', array( 'up_user' => $this->getId() ), __METHOD__ ); $dbw->insert( 'user_properties', $insert_rows, __METHOD__ ); - $dbw->commit(); } /**