From a7785b988566ece642c62664b51bcc822964625e Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 22 Jan 2014 16:23:53 +0800 Subject: Bug 951974: backport bug 237498 to bmo (Use memcached to improve performance) --- Bugzilla/Bug.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index e0b1b603f..1ba34f0a0 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -370,9 +370,9 @@ sub initialize { $_[0]->_create_cf_accessors(); } -sub cache_key { +sub object_cache_key { my $class = shift; - my $key = $class->SUPER::cache_key(@_) + my $key = $class->SUPER::object_cache_key(@_) || return; return $key . ',' . Bugzilla->user->id; } -- cgit v1.2.3-24-g4f1b