diff options
author | John Jarvis <jarv@gitlab.com> | 2019-01-02 09:32:40 +0000 |
---|---|---|
committer | John Jarvis <jarv@gitlab.com> | 2019-01-02 09:32:40 +0000 |
commit | 1bc6dc28b36ccf031ac24a893263eae578e1a2b0 (patch) | |
tree | 09358dc1120c835f4ac1908556c698788dc566de /app/services/groups | |
parent | a0a12ee5a14f2d5e363749dddbcaa58582fa743d (diff) | |
parent | 1653f7b1c68b2ea7da8df84ed459b9578e3dff8f (diff) | |
download | gitlab-ce-1bc6dc28b36ccf031ac24a893263eae578e1a2b0.tar.gz |
Merge branch 'security-todos_not_redacted_for_guests' into 'master'
[master] Security todos not redacted for guests
See merge request gitlab/gitlabhq!2697
Diffstat (limited to 'app/services/groups')
-rw-r--r-- | app/services/groups/update_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/groups/update_service.rb b/app/services/groups/update_service.rb index 31d3c844ad5..de78a3f7b27 100644 --- a/app/services/groups/update_service.rb +++ b/app/services/groups/update_service.rb @@ -31,7 +31,7 @@ module Groups def after_update if group.previous_changes.include?(:visibility_level) && group.private? # don't enqueue immediately to prevent todos removal in case of a mistake - TodosDestroyer::GroupPrivateWorker.perform_in(1.hour, group.id) + TodosDestroyer::GroupPrivateWorker.perform_in(Todo::WAIT_FOR_DELETE, group.id) end end |