Remove unused Gitlab::Markdown#cached? method

This commit is contained in:
Douwe Maan 2015-10-14 21:52:41 +02:00
parent 925dc5925b
commit 528d2823e9
1 changed files with 0 additions and 5 deletions

View File

@ -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