From 51e0aadc951e04c2ef46624d5b6626edb871c058 Mon Sep 17 00:00:00 2001 From: David Roberts Date: Tue, 5 May 2015 13:19:18 +0000 Subject: [PATCH] Add code to updatedatabase.pl http://bugs.koha-community.org/show_bug.cgi?id=13664 --- installer/data/mysql/updatedatabase.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 7d174ee..5f985d3 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -10509,6 +10509,12 @@ if ( CheckVersion($DBversion) ) { print "Upgrade to $DBversion done (Bug 13664: Add password strength plugin)\n"; SetVersion ($DBversion); } +$DBversion = "XXX"; +if ( CheckVersion($DBversion) ) { + $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('PasswordStrength','0','','Display password strength indicator in Staff Client.','YesNo')"); + print "Upgrade to $DBversion done (Bug 13664: Add password strength plugin)\n"; + SetVersion ($DBversion); +} =head1 FUNCTIONS -- 1.7.10.4