Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/hooks/system_hook.rb')
-rw-r--r--app/models/hooks/system_hook.rb2
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,