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

(-)a/Koha/Plugins/Base.pm (-3 / +8 lines)
Lines 265-272 if ( _version_compare( '2.6.26', '2.6.0' ) == 1 ) { Link Here
265
=cut
265
=cut
266
266
267
sub _version_compare {
267
sub _version_compare {
268
    my $ver1 = shift || 0;
268
    my @args = @_;
269
    my $ver2 = shift || 0;
269
270
    if ( $args[0]->isa('Koha::Plugins::Base') ) {
271
        shift @args;
272
    }
273
274
    my $ver1 = shift @args || 0;
275
    my $ver2 = shift @args || 0;
270
276
271
    my @v1 = split /[.+:~-]/, $ver1;
277
    my @v1 = split /[.+:~-]/, $ver1;
272
    my @v2 = split /[.+:~-]/, $ver2;
278
    my @v2 = split /[.+:~-]/, $ver2;
273
- 

Return to bug 23230