koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Joshua Ferraro
Subject: [Koha-cvs] koha/updater updatedatabase [rel_2_2]
Date: Wed, 01 Mar 2006 21:44:16 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Joshua Ferraro <address@hidden> 06/03/01 21:44:16

Modified files:
        updater        : updatedatabase 

Log message:
        Adds 'opacreadinghistory' syspref for turning this on/off for libraries
        who are scared of their government (ie, in countries where there a
        patriot act) :-)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/updater/updatedatabase.diff?only_with_tag=rel_2_2&tr1=1.100.2.30&tr2=1.100.2.31&r1=text&r2=text

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.30 
koha/updater/updatedatabase:1.100.2.31
--- koha/updater/updatedatabase:1.100.2.30      Wed Mar  1 15:52:13 2006
+++ koha/updater/updatedatabase Wed Mar  1 21:44:16 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.30 2006/03/01 15:52:13 kados Exp $
+# $Id: updatedatabase,v 1.100.2.31 2006/03/01 21:44:16 kados Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -859,7 +859,16 @@
             explanation         => 'Enter the name of the layout stylesheet to 
use in the OPAC',
             type                => 'free',
         },
-       
+
+       {
+            uniquefieldrequired => 'variable',
+            variable            => 'opacreadinghistory',
+            value               => '1',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'Turn on/off display of Patron Reading 
History in OPAC',
+            type                => 'YesNo',
+        },
         {
             uniquefieldrequired => 'variable',
             variable            => 'opaclanguagesdisplay',
@@ -1709,6 +1718,11 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.31  2006/03/01 21:44:16  kados
+# Adds 'opacreadinghistory' syspref for turning this on/off for libraries
+# who are scared of their government (ie, in countries where there a
+# patriot act) :-)
+#
 # Revision 1.100.2.30  2006/03/01 15:52:13  kados
 # Whoops ... should have checked, that name is already used. Changed it to
 # opaclanguagesdisplay.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]