Correcting warn concerning kohaversion.
authorChris Nighswonger <cnighswonger@foundations.edu>
Wed, 19 Mar 2008 11:20:08 +0000 (07:20 -0400)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 19 Mar 2008 20:44:44 +0000 (15:44 -0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Auth.pm

index 44baf4f..b0a9046 100755 (executable)
@@ -419,8 +419,7 @@ sub _version_check ($$) {
     $kohaversion =~ s/(.*\..*)\.(.*)\.(.*)/$1$2$3/;
     $debug and print STDERR "kohaversion : $kohaversion\n";
     if ($version < $kohaversion){
-        my $warning = "Database update needed, redirecting to %s. Database is $version and Koha is "
-            . C4::Context->config("kohaversion");
+        my $warning = "Database update needed, redirecting to %s. Database is $version and Koha is $kohaversion";
         if ($type ne 'opac'){
             warn sprintf($warning, 'Installer');
             print $query->redirect("/cgi-bin/koha/installer/install.pl?step=3");