d0e053e24d
Rebased-on: 2019-03-25 Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> Signed-off-by: Agustin Moyano <agustinmoyano@theke.io> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
14 lines
No EOL
401 B
Perl
14 lines
No EOL
401 B
Perl
$DBversion = 'XXX'; # will be replaced by the RM
|
|
if( CheckVersion( $DBversion ) ) {
|
|
|
|
use Koha::Plugins;
|
|
|
|
my @plugins = Koha::Plugins->new()->GetPlugins({ all => 1 });
|
|
foreach my $plugin ( @plugins ) {
|
|
$plugin->enable;
|
|
}
|
|
|
|
# Always end with this (adjust the bug info)
|
|
SetVersion( $DBversion );
|
|
print "Upgrade to $DBversion done (Bug 22053 - enable all plugins)\n";
|
|
} |