Changed Hook API to use a Manager class. #1296

This commit is contained in:
Eric Davis
2008-07-23 21:01:43 -07:00
parent fe22ef95a8
commit 04434cd6ef
7 changed files with 49 additions and 55 deletions
+1 -3
View File
@@ -53,9 +53,7 @@
<%end
end %>
</tr>
<% if Redmine::Plugin::Hook.hook_registered?(:issue_show) %>
<%= Redmine::Plugin::Hook.call_hook(:issue_show, {:project => @project, :issue => @issue}) %>
<% end %>
<%= Redmine::Plugin::Hook::Manager.call_hook(:issue_show, {:project => @project, :issue => @issue}) %>
</table>
<hr />