diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-02-05 01:23:41 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-05 01:24:06 +0100 |
commit | 90c4666b12e0fb2da8f0e15a018d8edd736f4f4f (patch) | |
tree | d87695df9cce37ceaf02dbfd7fb5d20d86bfbdc5 /lib/db.php | |
parent | 493ba20734484a29f4cfde5ebbcae06794ea78b9 (diff) | |
download | nextcloud-server-90c4666b12e0fb2da8f0e15a018d8edd736f4f4f.tar.gz nextcloud-server-90c4666b12e0fb2da8f0e15a018d8edd736f4f4f.zip |
fix bug in transactions with PDO
Diffstat (limited to 'lib/db.php')
-rw-r--r-- | lib/db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.php b/lib/db.php index 4860651b323..82d9b67dca8 100644 --- a/lib/db.php +++ b/lib/db.php @@ -486,7 +486,7 @@ class OC_DB { */ public static function beginTransaction(){ self::connect(); - if (self::$backend=self::BACKEND_MDB2 && !self::$connection->supports('transactions')) { + if (self::$backend==self::BACKEND_MDB2 && !self::$connection->supports('transactions')) { return false; } self::$connection->beginTransaction(); |