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
@@ -48,8 +48,6 @@
<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
<% end %>
<% if Redmine::Plugin::Hook.hook_registered?(:issue_edit) %>
<%= Redmine::Plugin::Hook.call_hook(:issue_edit, {:project => @project, :issue => @issue, :form => f }) %>
<% end %>
<%= Redmine::Plugin::Hook::Manager.call_hook(:issue_edit, {:project => @project, :issue => @issue, :form => f }) %>
<%= wikitoolbar_for 'issue_description' %>