[Koha-cvs] koha/updater updatedatabase

Henri-Damien LAURENT laurenthdl at alinto.com
Fri Apr 13 18:27:56 CEST 2007


CVSROOT:	/cvsroot/koha
Module name:	koha
Changes by:	Henri-Damien LAURENT <hdl>	07/04/13 16:27:56

Modified files:
	updater        : updatedatabase 

Log message:
	Adding Version variable to systempreferences.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/updater/updatedatabase?cvsroot=koha&r1=1.160&r2=1.161

Patches:
Index: updatedatabase
===================================================================
RCS file: /cvsroot/koha/koha/updater/updatedatabase,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -b -r1.160 -r1.161
--- updatedatabase	19 Mar 2007 18:35:13 -0000	1.160
+++ updatedatabase	13 Apr 2007 16:27:55 -0000	1.161
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.160 2007/03/19 18:35:13 toins Exp $
+# $Id: updatedatabase,v 1.161 2007/04/13 16:27:55 hdl Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -499,6 +499,14 @@
         },
         {   
             uniquefieldrequired => 'variable',
+            variable            => 'Version',
+            value               => '3.0',
+            forceupdate         => {'explanation' => 1, 'type' => 1},
+            explanation         => 'Koha Version',
+            type                => 'Free',
+        },
+        {   
+            uniquefieldrequired => 'variable',
             variable            => 'LetterLog',
             value               => '0',
             forceupdate         => {'explanation' => 1, 'type' => 1},
@@ -1977,6 +1985,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.161  2007/04/13 16:27:55  hdl
+# Adding Version variable to systempreferences.
+#
 # Revision 1.160  2007/03/19 18:35:13  toins
 #  - adding default value in marc_subfield_structure.
 #  - now marc_subfields_structure displays subfields in tab view.





More information about the Koha-cvs mailing list