Skip to content
Snippets Groups Projects
Commit 90c4666b authored by Robin Appelman's avatar Robin Appelman
Browse files

fix bug in transactions with PDO

parent 493ba207
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment