From 54e44e573a94dff89f8cdf940dab95b8e58df765 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 13 Nov 2011 12:35:28 +0000 Subject: [PATCH] Removed transaction in saveOptions(). No reason was given for it and it could break any callers that have transactions. --- includes/User.php | 2 -- 1 file changed, 2 deletions(-) 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(); } /** -- 2.20.1