BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d0a1da52
Commit
d0a1da52
authored
Mar 20, 2018
by
Ahmad Sherif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove calls to clear_cache from Git::Wiki
They were probably added to compensate for tests shortcomings, but now they don't complain. Closes gitaly#1095
parent
38bc4acb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
wiki.rb
lib/gitlab/git/wiki.rb
+0
-3
No files found.
lib/gitlab/git/wiki.rb
View file @
d0a1da52
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment