From 011a6b78049a6a3ed8d33ef2b029f0a55bc198b0 Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Fri, 3 Jul 2015 09:37:40 +0200 Subject: [PATCH] Updated auto register hook with new {CMS_HOOK_RESPONSE_ALTER} --- src/hooks/cms_hook_auto_register.e | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/hooks/cms_hook_auto_register.e b/src/hooks/cms_hook_auto_register.e index 9030c0e..4f359ee 100644 --- a/src/hooks/cms_hook_auto_register.e +++ b/src/hooks/cms_hook_auto_register.e @@ -33,6 +33,12 @@ feature -- Hook if attached {CMS_HOOK_VALUE_TABLE_ALTER} Current as h_value then a_response.subscribe_to_value_table_alter_hook (h_value) end + if attached {CMS_HOOK_RESPONSE_ALTER} Current as h_resp then + a_response.subscribe_to_response_alter_hook (h_resp) + end end +note + copyright: "2011-2015, Jocelyn Fiat, Javier Velilla, Eiffel Software and others" + license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end