diff options
Diffstat (limited to 'app/workers/users/deactivate_dormant_users_worker.rb')
-rw-r--r-- | app/workers/users/deactivate_dormant_users_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/users/deactivate_dormant_users_worker.rb b/app/workers/users/deactivate_dormant_users_worker.rb index 87566bff467..33c54f07521 100644 --- a/app/workers/users/deactivate_dormant_users_worker.rb +++ b/app/workers/users/deactivate_dormant_users_worker.rb @@ -15,7 +15,7 @@ module Users return unless ::Gitlab::CurrentSettings.current_application_settings.deactivate_dormant_users - admin_bot = User.admin_bot + admin_bot = Users::Internal.admin_bot return unless admin_bot deactivate_users(User.dormant, admin_bot) |