No need to dberror out when we are using RaiseError.
authorSteinar H. Gunderson <sesse@debian.org>
Mon, 25 Dec 2006 20:41:04 +0000 (21:41 +0100)
committerSteinar H. Gunderson <sesse@debian.org>
Mon, 25 Dec 2006 20:41:04 +0000 (21:41 +0100)
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);
                        }
                }