From: Go MAEDA Date: Tue, 20 Oct 2020 00:02:10 +0000 (+0000) Subject: Adds a hook after all plugins have been loaded (#34072). X-Git-Tag: 4.2.0~666 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b59af050cbb925fdc877de6a6005da183690f7e7;p=redmine.git Adds a hook after all plugins have been loaded (#34072). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@20151 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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)