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