From: Steinar H. Gunderson Date: Mon, 25 Dec 2006 20:41:04 +0000 (+0100) Subject: No need to dberror out when we are using RaiseError. X-Git-Url: https://git.sesse.net/?p=pr0n;a=commitdiff_plain;h=b499b81784e502e480dd114bb1fc130f498ab224;ds=sidebyside No need to dberror out when we are using RaiseError. --- diff --git a/perl/Sesse/pr0n/WebDAV.pm b/perl/Sesse/pr0n/WebDAV.pm index cfaa0ec..aecd9fd 100644 --- a/perl/Sesse/pr0n/WebDAV.pm +++ b/perl/Sesse/pr0n/WebDAV.pm @@ -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); } }