diff options
| author | Stan Hu <stanhu@gmail.com> | 2018-06-09 22:35:06 -0700 |
|---|---|---|
| committer | Stan Hu <stanhu@gmail.com> | 2018-06-11 08:33:06 -0700 |
| commit | 6defeb0a7d6928ad32d4d7a2fa35d0d71dbb9dea (patch) | |
| tree | 1fb22e52bca3a7040df45415db2b8fd5cfb9a3ab /app | |
| parent | f646a8b9bc95fd6cecaa754f7dd0e8370c201502 (diff) | |
| download | gitlab-ce-6defeb0a7d6928ad32d4d7a2fa35d0d71dbb9dea.tar.gz | |
Expire Wiki content cache after importing a repository
The cache state for Wikis that were imported via GitHub or Bitbucket does
not appear to have been flushed after a successful import.
Closes #47546
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/project.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 60cd13b371f..bc91b0aa1b0 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1615,6 +1615,7 @@ class Project < ActiveRecord::Base def after_import repository.after_import + wiki.repository.after_import import_finish remove_import_jid update_project_counter_caches |
