bug 10052: DBrev 3.13.00.005
authorGalen Charlton <gmc@esilibrary.com>
Thu, 23 May 2013 16:04:44 +0000 (09:04 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 23 May 2013 16:04:44 +0000 (09:04 -0700)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index fa7a02f..3134261 100755 (executable)
@@ -6957,14 +6957,12 @@ if(CheckVersion($DBversion)) {
     SetVersion($DBversion);
 }
 
-
-
-$DBversion = "3.11.00.XXX";
+$DBversion = "3.13.00.005";
 if(CheckVersion($DBversion)) {
     my $intra= C4::Context->preference("intranetstylesheet");
     #if this pref is not blank or starting with http, https or / [root], then
     #add an additional / to the front
-    if($intra && $intra!~/^(\/|https?)/) {
+    if($intra && $intra !~ /^(\/|https?)/) {
         $dbh->do("UPDATE systempreferences SET value=? WHERE variable=?",
             undef,('/'.$intra,"intranetstylesheet"));
         print "WARNING: Your system preference intranetstylesheet has been prefixed with a slash to make it an absolute path.\n";
@@ -6973,8 +6971,6 @@ if(CheckVersion($DBversion)) {
     SetVersion ($DBversion);
 }
 
-
-
 =head1 FUNCTIONS
 
 =head2 TableExists($table)
index ac431af..abb9897 100644 (file)
@@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.13.00.004';
+    our $VERSION = '3.13.00.005';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install