summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Comment
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2014-01-31 08:18:51 +0100
committerByron Jones <bjones@mozilla.com>2014-01-31 08:18:51 +0100
commitc5464b5bb7dfece2bad2b8af9eba4d9b6d07d778 (patch)
tree092c3a3ecb3152aba305c8ec4323056fc27865e2 /Bugzilla/Comment
parentcbd6506533f7370ba27c6928e887889627acb6b9 (diff)
downloadbugzilla-c5464b5bb7dfece2bad2b8af9eba4d9b6d07d778.tar.gz
bugzilla-c5464b5bb7dfece2bad2b8af9eba4d9b6d07d778.tar.xz
Bug 956233: enable USE_MEMCACHE on most objects
r=dkl, a=glob
Diffstat (limited to 'Bugzilla/Comment')
-rw-r--r--Bugzilla/Comment/TagWeights.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Comment/TagWeights.pm b/Bugzilla/Comment/TagWeights.pm
index 5835efbc4..f1a220a47 100644
--- a/Bugzilla/Comment/TagWeights.pm
+++ b/Bugzilla/Comment/TagWeights.pm
@@ -35,6 +35,9 @@ use constant NAME_FIELD => 'tag';
use constant LIST_ORDER => 'weight DESC';
use constant VALIDATORS => { };
+# There's no gain to caching these objects
+use constant USE_MEMCACHED => 0;
+
sub tag { return $_[0]->{'tag'} }
sub weight { return $_[0]->{'weight'} }