summaryrefslogtreecommitdiff
path: root/app/services/projects/move_notification_settings_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/projects/move_notification_settings_service.rb')
-rw-r--r--app/services/projects/move_notification_settings_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/move_notification_settings_service.rb b/app/services/projects/move_notification_settings_service.rb
index 746605d56f1..109a00dd6d9 100644
--- a/app/services/projects/move_notification_settings_service.rb
+++ b/app/services/projects/move_notification_settings_service.rb
@@ -22,7 +22,7 @@ module Projects
# Remove remaining notification settings from source_project
def remove_remaining_notification_settings
- source_project.notification_settings.destroy_all
+ source_project.notification_settings.destroy_all # rubocop: disable DestroyAll
end
# Get users of current notification_settings