Revision 38a2e789
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
bin/mozilla/admin.pl | ||
---|---|---|
719 | 719 |
|
720 | 720 |
map { $form->{$_} = $form->{"${_}_${i}"} } qw(dbname dbdriver dbhost dbport dbuser dbpasswd); |
721 | 721 |
|
722 |
my $controls = parse_dbupdate_controls($form, $form->{dbdriver}); |
|
723 |
|
|
724 | 722 |
print $form->parse_html_template("admin/dbupgrade_header"); |
725 | 723 |
|
726 | 724 |
$form->{dbupdate} = $form->{dbname}; |
727 | 725 |
$form->{$form->{dbname}} = 1; |
728 | 726 |
|
729 | 727 |
User->dbupdate($form); |
730 |
User->dbupdate2($form, $controls);
|
|
728 |
User->dbupdate2($form, SL::DBUpgrade2->new(form => $form, dbdriver => $form->{dbdriver})->parse_dbupdate_controls);
|
|
731 | 729 |
|
732 | 730 |
print $form->parse_html_template("admin/dbupgrade_footer"); |
733 | 731 |
} |
Auch abrufbar als: Unified diff
Funktionen update_available, update2_available nach DBUpgrade2.pm verschoben