diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-14 18:09:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-14 18:09:05 +0300 |
commit | 66bd1f0fdcaf84fa3412c70d7962b49eb8a48fde (patch) | |
tree | 23f451b4e60a6e28bcc15043d7756bb27dcc2970 /app/services/event_create_service.rb | |
parent | 49089d4fb1f5c17328ac61c955d95a68c6d4d545 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/event_create_service.rb')
-rw-r--r-- | app/services/event_create_service.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/services/event_create_service.rb b/app/services/event_create_service.rb index 7f71906bc89..5e184e41885 100644 --- a/app/services/event_create_service.rb +++ b/app/services/event_create_service.rb @@ -120,8 +120,6 @@ class EventCreateService # # @return a tuple of event and either :found or :created def wiki_event(wiki_page_meta, author, action) - return unless Feature.enabled?(:wiki_events) - raise IllegalActionError, action unless Event::WIKI_ACTIONS.include?(action) if duplicate = existing_wiki_event(wiki_page_meta, action) |