From 24e7a52fe57b6bd9d1158595d2465613aec0a52b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 2 Dec 2015 08:35:28 +0100 Subject: [PATCH] =?utf8?q?=C3=9Cberfl=C3=BCssige=20Variable=20entfernt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit $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. --- bin/mozilla/do.pl | 2 -- bin/mozilla/ir.pl | 2 -- bin/mozilla/is.pl | 2 -- bin/mozilla/oe.pl | 5 +---- 4 files changed, 1 insertion(+), 10 deletions(-) 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}"), -- 2.20.1