]> wagnertech.de Git - mfinanz.git/commitdiff
Überflüssige Variable entfernt
authorJan Büren <jan@kivitendo-premium.de>
Wed, 2 Dec 2015 07:35:28 +0000 (08:35 +0100)
committerJan Büren <jan@kivitendo-premium.de>
Wed, 2 Dec 2015 07:35:28 +0000 (08:35 +0100)
$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
bin/mozilla/ir.pl
bin/mozilla/is.pl
bin/mozilla/oe.pl

index c54940826751859527c98309d7370df0748032b4..3a39e759b270b05c3cfde81172b567668b4b7d3c 100644 (file)
@@ -173,8 +173,6 @@ sub order_links {
   $form->all_vc(\%myconfig, $form->{vc}, ($form->{vc} eq 'customer') ? "AR" : "AP");
 
   # retrieve order/quotation
   $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},
   my $editing = $form->{id};
 
   DO->retrieve('vc'  => $form->{vc},
index 6bcba9bdfae55a19f008cf76e4b9957bbe1702a1..25a0f3e6b7207cf326ef5e7173e7e0f4cf53e9de 100644 (file)
@@ -107,8 +107,6 @@ sub invoice_links {
   $form->{vc} = 'vendor';
 
   # create links
   $form->{vc} = 'vendor';
 
   # create links
-  $form->{webdav}   = $::instance_conf->get_webdav;
-
   $form->create_links("AP", \%myconfig, "vendor");
 
   #quote all_vendor Bug 133
   $form->create_links("AP", \%myconfig, "vendor");
 
   #quote all_vendor Bug 133
index 46abc9efdc89faced602a0f3b2f257290e6e5792..2a6d9aba7a9fa3f6a074b43842a0ae4c37d69d29 100644 (file)
@@ -140,8 +140,6 @@ sub invoice_links {
   $form->{vc} = 'customer';
 
   # create links
   $form->{vc} = 'customer';
 
   # create links
-  $form->{webdav}   = $::instance_conf->get_webdav;
-
   $form->create_links("AR", \%myconfig, "customer");
 
   if ($form->{all_customer}) {
   $form->create_links("AR", \%myconfig, "customer");
 
   if ($form->{all_customer}) {
index 7b33183097311819cfeaf575388e230b0c29ecaa..ad4c62ea85451043a6d1e061993abb1b9672e16e 100644 (file)
@@ -240,9 +240,7 @@ sub order_links {
   # get customer/vendor
   $form->all_vc(\%myconfig, $form->{vc}, ($form->{vc} eq 'customer') ? "AR" : "AP");
 
   # 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);
   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,
   $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}"),
      tpca_reminder   => $tpca_reminder,
      print_options   => print_options(inline => 1),
      label_edit      => $locale->text("Edit the $form->{type}"),