From 4349cc182e56c070b69bb89f81df75a0b6b78c85 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 13 Jan 2021 12:44:08 +0000 Subject: [PATCH] Bug 26985: Remove code for "Upcoming events" from codebase as not implemented This patch removes references to an unimplemented feature for "Upcoming events" notices. As far as I can tell the templates are the only files affected. To test, apply the patch and verify that no instances of "Upcoming events" or "Upcoming_events" are found in the codebase. Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/includes/messaging-preference-form.inc | 1 - koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt | 1 - koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt | 1 - 3 files changed, 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc index 6a58c63a27..7808bb20f5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc @@ -17,7 +17,6 @@ [% IF ( messaging_preference.Item_Due ) %]Item due [% ELSIF ( messaging_preference.Advance_Notice ) %]Advance notice - [% ELSIF ( messaging_preference.Upcoming_Events ) %]Upcoming events [% ELSIF ( messaging_preference.Hold_Filled ) %]Hold filled [% ELSIF ( messaging_preference.Item_Check_in ) %]Item check-in [% ELSIF ( messaging_preference.Item_Checkout ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt index d8c338efe8..f95f95991b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt @@ -533,7 +533,6 @@ [% IF ( transport.transport ) %] [% IF ( prefs.Item_Due ) %]Item due [% ELSIF ( prefs.Advance_Notice ) %]Advance notice - [% ELSIF ( prefs.Upcoming_Events ) %]Upcoming events [% ELSIF ( prefs.Hold_Filled ) %]Hold filled [% ELSIF ( prefs.Item_Check_in ) %]Item check-in [% ELSIF ( prefs.Item_Checkout ) %]Item checkout diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt index 40dcd5236e..a8f8ee1790 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt @@ -59,7 +59,6 @@ [% IF ( messaging_preference.Item_Due ) %]Item due [% ELSIF ( messaging_preference.Advance_Notice ) %]Advance notice - [% ELSIF ( messaging_preference.Upcoming_Events ) %]Upcoming events [% ELSIF ( messaging_preference.Hold_Filled ) %]Hold filled [% ELSIF ( messaging_preference.Item_Check_in ) %]Item check-in [% ELSIF ( messaging_preference.Item_Checkout ) %] -- 2.39.5