From 6128d871ed1f8caaa3905639a515e51ffa69dc77 Mon Sep 17 00:00:00 2001
From: Brendan Gallagher <brendan@bywatersolutions.com>
Date: Mon, 30 Nov 2015 07:58:18 -0800
Subject: [PATCH] DBRev 3.23.00.000: 2016 Year of the Monkey

Signed-off-by: Alex <alexklbuckley@gmail.com>

	0004-Bug-15252-UT.patch
---
 Koha.pm                                |    2 +-
 installer/data/mysql/updatedatabase.pl |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Koha.pm b/Koha.pm
index 1d873ca..ddcf615 100644
--- a/Koha.pm
+++ b/Koha.pm
@@ -29,7 +29,7 @@ use vars qw{ $VERSION };
 # - #4 : the developer version. The 4th number is the database subversion.
 #        used by developers when the database changes. updatedatabase take care of the changes itself
 #        and is automatically called by Auth.pm when needed.
-$VERSION = "3.22.00.000";
+$VERSION = "3.23.00.000";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl
index 7646b37..f8ab41e 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -11384,6 +11384,12 @@ if ( CheckVersion($DBversion) ) {
     SetVersion($DBversion);
 }
 
+$DBversion = "3.23.00.000";
+if ( CheckVersion($DBversion) ) {
+    print "Upgrade to $DBversion done (The year of the monkey will be here soon.)\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.
-- 
1.7.10.4