From a8d45a8be011e0ddbbd5c3d559ed0b1af2932e9e Mon Sep 17 00:00:00 2001 From: Jens Kraemer Date: Tue, 6 Oct 2020 16:24:20 +0800 Subject: [PATCH] adds a hook after all plugins have been loaded. This is helpful for plugins that want to patch other plugins which, due to their naming, are loaded later. --- lib/redmine/plugin.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/redmine/plugin.rb b/lib/redmine/plugin.rb index e9bc6eb39..907d65147 100644 --- a/lib/redmine/plugin.rb +++ b/lib/redmine/plugin.rb @@ -182,6 +182,7 @@ module Redmine end end end + Redmine::Hook.call_hook :after_plugins_loaded end def initialize(id) -- 2.20.1