Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a590a651

Von Sven Schöling vor etwa 14 Jahren hinzugefügt

  • ID a590a6518025280c2d6e76c87641764ca6198521
  • Vorgänger 9e2386ab
  • Nachfolger 6aa467fa

save_history sollte NICHT jedesmal eine neue datenbankverbindung aufmachen.

Unterschiede anzeigen:

bin/mozilla/oe.pl
1063 1063
  if(!exists $form->{addition}) {
1064 1064
    $form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
1065 1065
    $form->{addition} = "SAVED";
1066
    $form->save_history($form->dbconnect(\%myconfig));
1066
    $form->save_history;
1067 1067
  }
1068 1068
  # /saving the history
1069 1069

  
......
1171 1171
  if(!exists $form->{addition}) {
1172 1172
    $form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
1173 1173
    $form->{addition} = "SAVED";
1174
    $form->save_history($form->dbconnect(\%myconfig));
1174
    $form->save_history;
1175 1175
  }
1176 1176
  # /saving the history
1177 1177

  
......
1259 1259
    if(!exists $form->{addition}) {
1260 1260
      $form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
1261 1261
      $form->{addition} = "DELETED";
1262
      $form->save_history($form->dbconnect(\%myconfig));
1262
      $form->save_history;
1263 1263
    }
1264 1264
    # /saving the history
1265 1265
    $form->info($msg);

Auch abrufbar als: Unified diff