Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-08 03:10:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-08 03:10:34 +0300
commit6aead03bb3056c7ee0104311236c2ae06f0e2d18 (patch)
treea468b3b3ae108c8d266f80490bd9ef2fa25af1da /lib/gitlab/cache.rb
parentc98df6ecba0c2a2026803d824ff67d26d6251374 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/cache.rb')
-rw-r--r--lib/gitlab/cache.rb7
1 files changed, 7 insertions, 0 deletions
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