summaryrefslogtreecommitdiff
path: root/app/workers/personal_access_tokens/expired_notification_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/personal_access_tokens/expired_notification_worker.rb')
-rw-r--r--app/workers/personal_access_tokens/expired_notification_worker.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/workers/personal_access_tokens/expired_notification_worker.rb b/app/workers/personal_access_tokens/expired_notification_worker.rb
index c1b1f1a461d..2ff64ec51f3 100644
--- a/app/workers/personal_access_tokens/expired_notification_worker.rb
+++ b/app/workers/personal_access_tokens/expired_notification_worker.rb
@@ -8,8 +8,6 @@ module PersonalAccessTokens
feature_category :authentication_and_authorization
def perform(*args)
- return unless Feature.enabled?(:expired_pat_email_notification)
-
notification_service = NotificationService.new
User.with_personal_access_tokens_expired_today.find_each do |user|