diff options
author | Ahmad Sherif <me@ahmadsherif.com> | 2018-03-20 20:37:16 +0100 |
---|---|---|
committer | Ahmad Sherif <me@ahmadsherif.com> | 2018-03-21 18:08:09 +0100 |
commit | d0a1da526e16e34421bfdb9728507b17b131ccb8 (patch) | |
tree | 0c81d37a1ccdd3e56188efba2a6ad6f23991b259 | |
parent | 38bc4acb1c31d45937ecc318da06ac16faf234bb (diff) | |
download | gitlab-ce-d0a1da526e16e34421bfdb9728507b17b131ccb8.tar.gz |
Remove calls to clear_cache from Git::Wikifix/remove-wiki-cache-clear
They were probably added to compensate for tests shortcomings, but now
they don't complain.
Closes gitaly#1095
-rw-r--r-- | lib/gitlab/git/wiki.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/gitlab/git/wiki.rb b/lib/gitlab/git/wiki.rb index 52b44b9b3c5..8d82820915d 100644 --- a/lib/gitlab/git/wiki.rb +++ b/lib/gitlab/git/wiki.rb @@ -29,7 +29,6 @@ module Gitlab @repository.gitaly_migrate(:wiki_write_page) do |is_enabled| if is_enabled gitaly_write_page(name, format, content, commit_details) - gollum_wiki.clear_cache else gollum_write_page(name, format, content, commit_details) end @@ -40,7 +39,6 @@ module Gitlab @repository.gitaly_migrate(:wiki_delete_page) do |is_enabled| if is_enabled gitaly_delete_page(page_path, commit_details) - gollum_wiki.clear_cache else gollum_delete_page(page_path, commit_details) end @@ -51,7 +49,6 @@ module Gitlab @repository.gitaly_migrate(:wiki_update_page) do |is_enabled| if is_enabled gitaly_update_page(page_path, title, format, content, commit_details) - gollum_wiki.clear_cache else gollum_update_page(page_path, title, format, content, commit_details) end |