Committer: vad
LJSUP-13445: Home page optimization: stage 2U trunk/cgi-bin/LJ/NotificationInbox.pm
Modified: trunk/cgi-bin/LJ/NotificationInbox.pm =================================================================== --- trunk/cgi-bin/LJ/NotificationInbox.pm 2012-08-29 12:10:47 UTC (rev 22768) +++ trunk/cgi-bin/LJ/NotificationInbox.pm 2012-08-29 12:29:32 UTC (rev 22769) @@ -207,7 +207,7 @@ my $self = shift; # cached unread count - my $unread = LJ::MemCache::get($self->_unread_memkey); + my $unread = LJ::MemCacheProxy::get($self->_unread_memkey); return $unread if defined $unread; @@ -220,7 +220,7 @@ ($unread) = $sth->fetchrow_array; # cache it - LJ::MemCache::set($self->_unread_memkey, $unread, 30 * 60); + LJ::MemCacheProxy::set($self->_unread_memkey, $unread, 30 * 60); return $unread; }