From 9f1fe859eb9da20621e07610c2c5ae56523b0589 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 3 Sep 2024 11:43:49 +0200 Subject: [PATCH] Bug 37818: Remove 'XXX' from the installer code We were adding "XXX" that was replaced with "999" before the move to the atomic update files (bug 13068). We do no longer need this code. --- Koha/Installer.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Koha/Installer.pm b/Koha/Installer.pm index 48f8fc0f011..235eac32475 100644 --- a/Koha/Installer.pm +++ b/Koha/Installer.pm @@ -55,10 +55,6 @@ sub TransformToNum { # remove the 3 last . to have a Perl number $version =~ s/(.*\..*)\.(.*)\.(.*)/$1$2$3/; - # three X's at the end indicate that you are testing patch with dbrev - # change it into 999 - # prevents error on a < comparison between strings (should be: lt) - $version =~ s/XXX$/999/; return $version; } -- 2.34.1