]> git.mxchange.org Git - friendica.git/blobdiff - include/dba.php
Merge pull request #5328 from annando/item-activities
[friendica.git] / include / dba.php
index 061f5399c76d11b38bdb72c1a9a7ec60b2b11e40..b95589970edd5f3c48e91a12051de29174d311bd 100644 (file)
@@ -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()) {