No need to dberror out when we are using RaiseError.
[pr0n] / perl / Sesse / pr0n / WebDAV.pm
index cfaa0ec097da601d0982883b95d0ce8b2bac0425..aecd9fdae7aa5ca713f4e87083556605c035b516 100644 (file)
@@ -500,7 +500,7 @@ EOF
                        if ($@) {
                                # Some error occurred, rollback and bomb out
                                $dbh->rollback;
-                               dberror($r, "Transaction aborted because $@");
+                               error($r, "Transaction aborted because $@");
                                unlink($fname);
                        }
                }