diff options
Diffstat (limited to 'app/models/hooks/system_hook.rb')
-rw-r--r-- | app/models/hooks/system_hook.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/hooks/system_hook.rb b/app/models/hooks/system_hook.rb index 3c7f0ef9ffc..57409faee5a 100644 --- a/app/models/hooks/system_hook.rb +++ b/app/models/hooks/system_hook.rb @@ -3,6 +3,8 @@ class SystemHook < WebHook include TriggerableHooks + self.allow_legacy_sti_class = true + triggerable_hooks [ :repository_update_hooks, :push_hooks, |