Removed an obsolete call to CMS_RESPONSE.hooks .

This commit is contained in:
2015-12-07 22:08:37 +01:00
parent b0626d5250
commit e3ae564746

View File

@@ -63,7 +63,7 @@ feature -- Execution
fd.is_valid fd.is_valid
then then
if attached fd.string_item ("op") as l_op and then l_op.same_string (text_clear_all_caches) then if attached fd.string_item ("op") as l_op and then l_op.same_string (text_clear_all_caches) then
l_response.hooks.invoke_clear_cache (Void, l_response) api.hooks.invoke_clear_cache (Void, l_response)
l_response.add_notice_message ("Caches cleared (if allowed)!") l_response.add_notice_message ("Caches cleared (if allowed)!")
else else
fd.report_error ("Invalid form data!") fd.report_error ("Invalid form data!")