From: Jan Büren <jan@kivitendo-premium.de>
Date: Wed, 2 Dec 2015 07:35:28 +0000 (+0100)
Subject: Überflüssige Variable entfernt
X-Git-Tag: release-3.4.1~562
X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=24e7a52fe57b6bd9d1158595d2465613aec0a52b;p=kivitendo-erp.git

Überflüssige Variable entfernt

$form->{webdav} wird seit dem Tabbing-Zeitalter nicht mehr als
Kennzeichen für webdav benötigt. Alle anderen Überprüfungen auf
webdav finden in den Templates schon lange sinnvollerweise
mit INSTANCE_CONF.get_webdav statt.
---

diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl
index c54940826..3a39e759b 100644
--- a/bin/mozilla/do.pl
+++ b/bin/mozilla/do.pl
@@ -173,8 +173,6 @@ sub order_links {
   $form->all_vc(\%myconfig, $form->{vc}, ($form->{vc} eq 'customer') ? "AR" : "AP");
 
   # retrieve order/quotation
-  $form->{webdav}   = $::instance_conf->get_webdav;
-
   my $editing = $form->{id};
 
   DO->retrieve('vc'  => $form->{vc},
diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl
index 6bcba9bdf..25a0f3e6b 100644
--- a/bin/mozilla/ir.pl
+++ b/bin/mozilla/ir.pl
@@ -107,8 +107,6 @@ sub invoice_links {
   $form->{vc} = 'vendor';
 
   # create links
-  $form->{webdav}   = $::instance_conf->get_webdav;
-
   $form->create_links("AP", \%myconfig, "vendor");
 
   #quote all_vendor Bug 133
diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl
index 46abc9efd..2a6d9aba7 100644
--- a/bin/mozilla/is.pl
+++ b/bin/mozilla/is.pl
@@ -140,8 +140,6 @@ sub invoice_links {
   $form->{vc} = 'customer';
 
   # create links
-  $form->{webdav}   = $::instance_conf->get_webdav;
-
   $form->create_links("AR", \%myconfig, "customer");
 
   if ($form->{all_customer}) {
diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl
index 7b3318309..ad4c62ea8 100644
--- a/bin/mozilla/oe.pl
+++ b/bin/mozilla/oe.pl
@@ -240,9 +240,7 @@ sub order_links {
   # get customer/vendor
   $form->all_vc(\%myconfig, $form->{vc}, ($form->{vc} eq 'customer') ? "AR" : "AP");
 
-  # retrieve order/quotation and webdav config
-  $form->{webdav}   = $::instance_conf->get_webdav;
-
+  # retrieve order/quotation
   my $editing = $form->{id};
 
   OE->retrieve(\%myconfig, \%$form);
@@ -567,7 +565,6 @@ sub form_footer {
   $tpca_reminder = check_transport_cost_reminder_article_number() if $::instance_conf->get_transport_cost_reminder_article_number_id;
   print $form->parse_html_template("oe/form_footer", {
      %TMPL_VAR,
-     webdav          => $::instance_conf->get_webdav,
      tpca_reminder   => $tpca_reminder,
      print_options   => print_options(inline => 1),
      label_edit      => $locale->text("Edit the $form->{type}"),