From a11f4823342225b2dbe8b931b90d8d14ba80a236 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 19 Dec 2013 13:44:01 +0800 Subject: Bug 237498: Add memcached integration r=dkl, a=sgreen --- Bugzilla/Bug.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index a7be3812d..f0476c898 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -353,9 +353,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; } @@ -4422,7 +4422,7 @@ Ensures the accessors for custom fields are always created. =item set_op_sys -=item cache_key +=item object_cache_key =item bug_group -- cgit v1.2.3-24-g4f1b