Line 0
Link Here
|
0 |
- |
1 |
$DBversion = 'XXX'; # will be replaced by the RM |
|
|
2 |
if( CheckVersion( $DBversion ) ) { |
3 |
|
4 |
use Koha::Plugins; |
5 |
|
6 |
my @plugins = Koha::Plugins->new()->GetPlugins({ all => 1 }); |
7 |
foreach my $plugin ( @plugins ) { |
8 |
$plugin->enable; |
9 |
} |
10 |
|
11 |
# Always end with this (adjust the bug info) |
12 |
SetVersion( $DBversion ); |
13 |
print "Upgrade to $DBversion done (Bug 22053 - enable all plugins)\n"; |
14 |
} |