Skip to content
Snippets Groups Projects
Commit 528d2823 authored by Douwe Maan's avatar Douwe Maan
Browse files

Remove unused Gitlab::Markdown#cached? method

parent 925dc592
No related branches found
No related tags found
2 merge requests!2051[Second try] Implement different Markdown rendering pipelines and cache Markdown,!1602Implement different Markdown rendering pipelines and cache Markdown
Pipeline #
Loading
@@ -45,11 +45,6 @@ module Gitlab
Loading
@@ -45,11 +45,6 @@ module Gitlab
html_pipeline.call(text, context) html_pipeline.call(text, context)
end 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 # Perform post-processing on an HTML String
# #
# This method is used to perform state-dependent changes to a String of # This method is used to perform state-dependent changes to a String of
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment