diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 03:10:34 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 03:10:34 +0300 |
commit | 6aead03bb3056c7ee0104311236c2ae06f0e2d18 (patch) | |
tree | a468b3b3ae108c8d266f80490bd9ef2fa25af1da /lib/gitlab/cache.rb | |
parent | c98df6ecba0c2a2026803d824ff67d26d6251374 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/cache.rb')
-rw-r--r-- | lib/gitlab/cache.rb | 7 |
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 |