From f334875b437a987364af8eef334c6348e3685233 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 Signed-off-by: Tadeasm Signed-off-by: Tadeasm --- 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 6e5655b..92c435c 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -10485,6 +10485,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 -- 2.1.4