X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdba.php;h=b95589970edd5f3c48e91a12051de29174d311bd;hb=e0ecbd0b95454ed2ff4b0082b41d388d2938e3ae;hp=061f5399c76d11b38bdb72c1a9a7ec60b2b11e40;hpb=5f1b5f82ad6d9b816db5c99ff708f706dc39f0bb;p=friendica.git diff --git a/include/dba.php b/include/dba.php index 061f5399c7..b95589970e 100644 --- a/include/dba.php +++ b/include/dba.php @@ -955,6 +955,8 @@ class dba { * @return boolean Was the command executed successfully? */ public static function rollback() { + $ret = false; + switch (self::$driver) { case 'pdo': if (!self::$db->inTransaction()) {