Changed Hook API to use a Manager class. #1296
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user