Commit 528d2823 authored by Douwe Maan's avatar Douwe Maan

Remove unused Gitlab::Markdown#cached? method

parent 925dc592
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment