View | Details | Raw Unified | Return to bug 22053
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_22053_enable-all-plugins.perl (-1 / +14 lines)
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
}

Return to bug 22053