From a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 16 Jun 2021 18:25:58 +0000 Subject: Add latest changes from gitlab-org/gitlab@14-0-stable-ee --- lib/gitlab/cache.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/gitlab/cache.rb') diff --git a/lib/gitlab/cache.rb b/lib/gitlab/cache.rb index 90a0c38ff7b..433614a3007 100644 --- a/lib/gitlab/cache.rb +++ b/lib/gitlab/cache.rb @@ -13,6 +13,13 @@ module Gitlab end end end + + # Hook for EE + def delete(key) + Rails.cache.delete(key) + end end end end + +Gitlab::Cache.prepend_mod -- cgit v1.2.3