Revision a590a651
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
bin/mozilla/projects.pl | ||
---|---|---|
235 | 235 |
$form->{id} = $project->{id}; |
236 | 236 |
$form->{snumbers} = qq|projectnumber_| . $project->{projectnumber}; |
237 | 237 |
$form->{addition} = "SAVED"; |
238 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
238 |
$form->save_history; |
|
239 | 239 |
} |
240 | 240 |
# /saving the history |
241 | 241 |
|
... | ... | |
278 | 278 |
if(!exists $form->{addition}) { |
279 | 279 |
$form->{snumbers} = qq|projectnumber_| . $project->{projectnumber}; |
280 | 280 |
$form->{addition} = "DELETED"; |
281 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
281 |
$form->save_history; |
|
282 | 282 |
} |
283 | 283 |
# /saving the history |
284 | 284 |
|
Auch abrufbar als: Unified diff
save_history sollte NICHT jedesmal eine neue datenbankverbindung aufmachen.