From 334b2d56d80367e1f0a84e44a649df145bc56d5b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 15 Jan 2024 15:33:40 +0000 Subject: [PATCH] Bug 35473: Also disable the plugin --- installer/data/mysql/db_revs/230600061.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/installer/data/mysql/db_revs/230600061.pl b/installer/data/mysql/db_revs/230600061.pl index b32763dbcec..b0afed00d52 100755 --- a/installer/data/mysql/db_revs/230600061.pl +++ b/installer/data/mysql/db_revs/230600061.pl @@ -52,6 +52,11 @@ return { say "Migrated room reservations plugin to it's own namespace"; say "You MUST upgrade to the latest room reservation plugin to continue using it"; + $dbh->do( + "UPDATE plugin_data SET plugin_value = 0 WHERE plugin_class = 'Koha::Plugin::Com::MarywoodUniversity::RoomReservations' AND plugin_key = '__ENABLED__'" + ); + + say "Plugin disabled, please re-enable once you have upgraded it"; } } -- 2.43.0