# - #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.055";
+$VERSION = "19.12.00.056";
sub version {
return $VERSION;
$dbh->do(q|
ALTER TABLE suggestions ADD CONSTRAINT `suggestions_ibfk_lastmodificationby` FOREIGN KEY (`lastmodificationby`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE
+ A
|);
}
NewVersion( $DBversion, 23590, "Add lastmodificationby and lastmodificationdate to the suggestions table");
}
+$DBversion = '19.12.00.056';
+if( CheckVersion( $DBversion ) ) {
+
+ $dbh->do( "DELETE FROM systempreferences WHERE variable='UseKohaPlugins'" );
+
+ NewVersion( $DBversion, 20415, "Remove UseKohaPlugins preference");
+}
+
+
# 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/';