Und wieder ein Schwung strict.
[kivitendo-erp.git] / sql / Pg-upgrade2 / USTVA_abstraction.pl
index e948128..83dffc6 100644 (file)
@@ -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:") .