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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-07-14 18:09:05 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-14 18:09:05 +0300
commit66bd1f0fdcaf84fa3412c70d7962b49eb8a48fde (patch)
tree23f451b4e60a6e28bcc15043d7756bb27dcc2970 /app/services/event_create_service.rb
parent49089d4fb1f5c17328ac61c955d95a68c6d4d545 (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.rb2
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)