Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
81d191ed
Commit
81d191ed
authored
Mar 17, 2016
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed Repository#rebuild_cache
This method is not used or tested anywhere.
parent
dc396d0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
app/models/repository.rb
app/models/repository.rb
+0
-12
No files found.
app/models/repository.rb
View file @
81d191ed
...
@@ -301,18 +301,6 @@ class Repository
...
@@ -301,18 +301,6 @@ class Repository
@tag_count
=
nil
@tag_count
=
nil
end
end
def
rebuild_cache
cache_keys
.
each
do
|
key
|
cache
.
expire
(
key
)
send
(
key
)
end
branches
.
each
do
|
branch
|
cache
.
expire
(
:"diverging_commit_counts_
#{
branch
.
name
}
"
)
diverging_commit_counts
(
branch
)
end
end
def
lookup_cache
def
lookup_cache
@lookup_cache
||=
{}
@lookup_cache
||=
{}
end
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