Removing Redmine::Hook::HOOKS because it's not used any more with the dynamic hook loading. #1677
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1746 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
|
||||
module Redmine
|
||||
module Hook
|
||||
HOOKS = %w(view_layouts_base_html_head).collect {|h| h.to_sym}
|
||||
|
||||
@@listener_classes = []
|
||||
@@listeners = nil
|
||||
@@hook_listeners = {}
|
||||
@@ -63,14 +61,6 @@ module Redmine
|
||||
end
|
||||
response
|
||||
end
|
||||
|
||||
def hooks
|
||||
HOOKS.dup
|
||||
end
|
||||
|
||||
def valid_hook?(hook)
|
||||
HOOKS.include?(hook)
|
||||
end
|
||||
end
|
||||
|
||||
# Base class for hook listeners.
|
||||
|
||||
Reference in New Issue
Block a user