summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();