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:
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