From 2e4ea0a0740a69af9d9e3cc65a7498b2aa7f0498 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 4 May 2015 11:16:33 -0300 Subject: [PATCH] Bug 13889: DBRev 3.19.00.036 Signed-off-by: Tomas Cohen Arazi --- .../atomicupdate/bug_13889_add_cronjoblog_syspref.sql | 1 - installer/data/mysql/updatedatabase.pl | 10 ++++++++++ kohaversion.pl | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_13889_add_cronjoblog_syspref.sql diff --git a/installer/data/mysql/atomicupdate/bug_13889_add_cronjoblog_syspref.sql b/installer/data/mysql/atomicupdate/bug_13889_add_cronjoblog_syspref.sql deleted file mode 100644 index 524fbac3f9..0000000000 --- a/installer/data/mysql/atomicupdate/bug_13889_add_cronjoblog_syspref.sql +++ /dev/null @@ -1 +0,0 @@ -INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('CronjobLog','0',NULL,'If ON, log information from cron jobs.','YesNo'); diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 128d8ad69f..a39a19f40d 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -10328,6 +10328,16 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } +$DBversion = "3.19.00.036"; +if ( CheckVersion($DBversion) ) { + $dbh->do(q| + INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) + VALUES ('CronjobLog','0',NULL,'If ON, log information from cron jobs.','YesNo') + |); + print "Upgrade to $DBversion done (Bug 13889: Add cron jobs information to system log)\n"; + SetVersion ($DBversion); +} + # DEVELOPER PROCESS, search for anything to execute in the db_update directory # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. diff --git a/kohaversion.pl b/kohaversion.pl index 3bd5475a94..113f8ca6cd 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -17,7 +17,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.19.00.035'; + our $VERSION = '3.19.00.036'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5