summaryrefslogtreecommitdiffstats
path: root/lib/db.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-02-05 01:23:41 +0100
committerRobin Appelman <icewind@owncloud.com>2012-02-05 01:24:06 +0100
commit90c4666b12e0fb2da8f0e15a018d8edd736f4f4f (patch)
treed87695df9cce37ceaf02dbfd7fb5d20d86bfbdc5 /lib/db.php
parent493ba20734484a29f4cfde5ebbcae06794ea78b9 (diff)
downloadnextcloud-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.php2
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();