From 38f8bf4776bdd6355ea0c27fb0c3ab13b28d2501 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Thu, 27 Dec 2012 14:02:50 -0500 Subject: [PATCH] Revert "Bug 7167: Set final updatedatabase.pl version" This reverts commit c34017336c3cd03f471b1c5100b9f6b4dbe589db. --- C4/Auth.pm | 3 +-- C4/Context.pm | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 59b7d688e6..602c09530a 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -587,8 +587,7 @@ sub version_check { } # check if you're uptodate, and if you're not, head to updater - my $koha39 = C4::Context->final_linear_version; - $koha39 =~ s/(.*\..*)\.(.*)\.(.*)/$1$2$3/; + my $koha39 = "3.1100001"; # Old updatedatabase method if (C4::Context->preference('Version') < $koha39) { diff --git a/C4/Context.pm b/C4/Context.pm index f7349a7251..4e6c5fb2c0 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -229,7 +229,7 @@ This number is equal to the version in kohaversion.pl =cut sub final_linear_version { - return '3.11.00.014'; + return KOHAVERSION; } =head2 read_config_file -- 2.39.5