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

paul poulain paul at koha-fr.org
Mon Dec 5 10:50:36 CET 2005


Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.14 koha/updater/updatedatabase:1.100.2.15
--- koha/updater/updatedatabase:1.100.2.14	Mon Dec  5 09:41:35 2005
+++ koha/updater/updatedatabase	Mon Dec  5 09:50:35 2005
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.14 2005/12/05 09:41:35 tipaul Exp $
+# $Id: updatedatabase,v 1.100.2.15 2005/12/05 09:50:35 tipaul Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -933,6 +933,15 @@
             explanation         => 'Delay before expiry where a notice is sent when issuing',
             type                => 'Integer',
         },
+        {
+            uniquefieldrequired => 'variable',
+            variable            => 'OpacPasswordChange',
+            value               => '1',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'Enable/Disable password change in OPAC (disable it when using LDAP auth)',
+            type                => 'YesNo',
+        },
     ],
 
 );
@@ -1529,6 +1538,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.15  2005/12/05 09:50:35  tipaul
+# New systempreference : OpacPasswordChange if set to Yes (default) the user can change it's password. If set to No, he can't. Useful for libraries with LDAP auth, where the password is checked in LDAP, not in Koha, thus Koha can't change it
+#
 # Revision 1.100.2.14  2005/12/05 09:41:35  tipaul
 # typo fix : NofifyBorrowerDeparture instead of NotifiyBorrowerDeparture
 #





More information about the Koha-cvs mailing list