[Koha-cvs] koha/updater updatedatabase [rel_3_0]

LAURIN arnaud alaurin at ouestprovence.fr
Tue Dec 19 13:06:53 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	LAURIN arnaud <alaurin>	06/12/19 12:06:53

Modified files:
	updater        : updatedatabase 

Log message:
	adding a new system preference : RequestOnOpac ;
	
	adding update database

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/updater/updatedatabase?cvsroot=koha&only_with_tag=rel_3_0&r1=1.157.2.37&r2=1.157.2.38

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.157.2.37
retrieving revision 1.157.2.38
diff -u -b -r1.157.2.37 -r1.157.2.38
--- updatedatabase	19 Dec 2006 10:49:21 -0000	1.157.2.37
+++ updatedatabase	19 Dec 2006 12:06:53 -0000	1.157.2.38
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.157.2.37 2006/12/19 10:49:21 toins Exp $
+# $Id: updatedatabase,v 1.157.2.38 2006/12/19 12:06:53 alaurin Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -398,6 +398,15 @@
             explanation => 'search among marc field',
             type => 'YesNo',
         },
+       {
+            uniquefieldrequired => 'variable',
+            variable            => 'RequestOnOpac',
+            value               => '1',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'option to allow reserves on opac',
+            type                => 'YesNo',
+        },
     ],
     userflags => [
         {
@@ -2027,6 +2036,11 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.157.2.38  2006/12/19 12:06:53  alaurin
+# adding a new system preference : RequestOnOpac ;
+#
+# adding update database
+#
 # Revision 1.157.2.37  2006/12/19 10:49:21  toins
 # fix a minor bug in syspref "expandedSearchOption" and adding it on updatedatabase.
 #





More information about the Koha-cvs mailing list