Commit d56b973a authored by Kerri Miller's avatar Kerri Miller

Adds missing param to feature_available? call

parent 8ad8252c
......@@ -37,7 +37,7 @@ module Gitlab
cached_content[diff_file_id] = diff_file.highlighted_diff_lines.map(&:to_hash)
end
if diffable.project.feature_available?(:redis_diff_caching)
if diffable.project.feature_available?(:redis_diff_caching, current_user)
write_to_redis_hash(cached_content)
else
cache.write(key, cached_content, expires_in: 1.week)
......
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