Correction to preference terminology
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
-$VERSION = "19.12.00.090";
+$VERSION = "19.12.00.091";
sub version {
return $VERSION;
NewVersion( $DBversion, 13881, "Add issue desks system preference");
}
+$DBversion = '19.12.00.091';
+if ( CheckVersion($DBversion) ) {
+
+ $dbh->do(qq{
+ UPDATE systempreferences SET variable = 'UseCirculationDesks' WHERE variable = 'UseIssueDesks'
+ });
+
+ NewVersion( $DBversion, 13881, "Correction to preference terminology");
+}
+
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';