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 /lib/tasks | |
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 'lib/tasks')
-rw-r--r-- | lib/tasks/import.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/import.rake b/lib/tasks/import.rake index aafbe52e5f8..0fd184d243f 100644 --- a/lib/tasks/import.rake +++ b/lib/tasks/import.rake @@ -50,7 +50,7 @@ class GithubImport end if import_success - @project.import_finish + @project.after_import puts "Import finished. Timings: #{timings}".color(:green) else puts "Import was not successful. Errors were as follows:" |