diff options
Diffstat (limited to 'app/models/event.rb')
-rw-r--r-- | app/models/event.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/event.rb b/app/models/event.rb index 8ae2f61f36d..7760be3e817 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -357,6 +357,8 @@ class Event < ApplicationRecord Project.unscoped.where(id: project_id) .where('last_activity_at <= ?', RESET_PROJECT_ACTIVITY_INTERVAL.ago) .touch_all(:last_activity_at, time: created_at) # rubocop: disable Rails/SkipsModelValidations + + Gitlab::InactiveProjectsDeletionWarningTracker.new(project.id).reset end def authored_by?(user) |