diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-30 21:09:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-30 21:09:52 +0300 |
commit | 6010cf135a52a37b200112fa353900a690f958a7 (patch) | |
tree | 74b0ab61b564ea9fa47099fb85cf888add5405e7 /app/services/git | |
parent | dd240e5cc4e0abc4eef8b97962c247dab43e3777 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/git')
-rw-r--r-- | app/services/git/wiki_push_service.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/services/git/wiki_push_service.rb b/app/services/git/wiki_push_service.rb index fa3019ee9d6..87e2be858c0 100644 --- a/app/services/git/wiki_push_service.rb +++ b/app/services/git/wiki_push_service.rb @@ -34,9 +34,7 @@ module Git def can_process_wiki_events? # TODO: Support activity events for group wikis # https://gitlab.com/gitlab-org/gitlab/-/issues/209306 - return false unless wiki.is_a?(ProjectWiki) - - Feature.enabled?(:wiki_events_on_git_push, wiki.container) + wiki.is_a?(ProjectWiki) end def push_changes |