[Koha-bugs] [Bug 20415] Remove UseKohaPlugins system preference
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 27 01:10:37 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20415
--- Comment #35 from David Cook <dcook at prosentient.com.au> ---
(In reply to Martin Renvoize from comment #34)
> Nice work everyone!
>
> Pushed to master for 20.05
Ooops, I think you may have accidentally broken updatedatabase.pl:
diff --git a/installer/data/mysql/updatedatabase.pl
b/installer/data/mysql/updatedatabase.pl
index 65ecbb7169..3c62761737 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -21296,6 +21296,7 @@ if( CheckVersion( $DBversion ) ) {
$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
|);
}
@@ -21335,6 +21336,15 @@ if( CheckVersion( $DBversion ) ) {
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/';
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list