Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8085e7b1

Von Moritz Bunkus vor mehr als 7 Jahren hinzugefügt

  • ID 8085e7b197b102ca265a1598ef808c35f894ba6d
  • Vorgänger 1f0d7da2
  • Nachfolger f30f0cce

SL::DBUpgrade2: unbenutzte Funktion `update2_available` entfernen

Unterschiede anzeigen:

SL/DBUpgrade2.pm
return grep { !$_->{applied} } @all_scripts;
}
sub update2_available {
my ($self, $dbh) = @_;
my @unapplied_scripts = $self->unapplied_upgrade_scripts($dbh);
return !!@unapplied_scripts;
}
sub apply_admin_dbupgrade_scripts {
my ($self, $called_from_admin) = @_;
......
Requires that the scripts have been parsed.
=item C<update2_available $dbh>
Returns trueish if at least one upgrade script hasn't been applied to
a database yet. C<$dbh> is an open handle to the database that is
checked.
Requires that the scripts have been parsed.
=back
=head1 BUGS

Auch abrufbar als: Unified diff