From b4231065f28f384a489240b9b619a098a895c22c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 6 Jun 2007 07:15:59 +0000 Subject: [PATCH] Die Funktion mydberror muss auch existieren, wenn sie aufgerufen werden soll. --- sql/Pg-upgrade2/globalprojectnumber_ap_ar_oe.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sql/Pg-upgrade2/globalprojectnumber_ap_ar_oe.pl b/sql/Pg-upgrade2/globalprojectnumber_ap_ar_oe.pl index a9de59f1d..93ace03ee 100644 --- a/sql/Pg-upgrade2/globalprojectnumber_ap_ar_oe.pl +++ b/sql/Pg-upgrade2/globalprojectnumber_ap_ar_oe.pl @@ -4,6 +4,12 @@ die("This script cannot be run from the command line.") unless ($main::form); +sub mydberror { + my ($msg) = @_; + die($dbup_locale->text("Database update error:") . + "
$msg
" . $DBI::errstr); +} + sub do_query { my ($query, $may_fail) = @_; -- 2.20.1