summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-14 21:52:41 +0200
committerDouwe Maan <douwe@gitlab.com>2015-10-14 21:52:41 +0200
commit528d2823e9888ae09aa03b72c2e61cd0b9a39937 (patch)
tree5d3bb5e9fa441770d78078b13196734c588f401d /lib
parent925dc5925b672718ea1f0f08c5bdd492b5ab3e5d (diff)
downloadgitlab-ce-528d2823e9888ae09aa03b72c2e61cd0b9a39937.tar.gz
Remove unused Gitlab::Markdown#cached? method
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/markdown.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/gitlab/markdown.rb b/lib/gitlab/markdown.rb
index b9615f95012..5c4481e6497 100644
--- a/lib/gitlab/markdown.rb
+++ b/lib/gitlab/markdown.rb
@@ -45,11 +45,6 @@ module Gitlab
html_pipeline.call(text, context)
end
- def self.cached?(cache_key, pipeline: :full)
- cache_key = full_cache_key(cache_key, pipeline)
- cache_key ? Rails.cache.exist?(cache_key) : false
- end
-
# Perform post-processing on an HTML String
#
# This method is used to perform state-dependent changes to a String of