X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d890f886effd222cdff138acea5f44f45f6c12b0..3314d7c2247d46033fcd7cd1e1663a705db02fea:/sql/Pg-upgrade2/USTVA_abstraction.pl diff --git a/sql/Pg-upgrade2/USTVA_abstraction.pl b/sql/Pg-upgrade2/USTVA_abstraction.pl index e94812855..83dffc6f7 100644 --- a/sql/Pg-upgrade2/USTVA_abstraction.pl +++ b/sql/Pg-upgrade2/USTVA_abstraction.pl @@ -8,8 +8,13 @@ ################### +use strict; + die("This script cannot be run from the command line.") unless ($main::form); +# import vars from caller +our ($dbup_locale, $dbup_myconfig, $dbh, $iconv); + sub mydberror { my ($msg) = @_; die($dbup_locale->text("Database update error:") .