We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 82f90ad7 authored by Shashi Gowda's avatar Shashi Gowda Committed by Zach Copley


parent 53af608e
......@@ -470,6 +470,23 @@ class Profile_list extends Memcached_DataObject
return $count;
* get the cached number of profiles subscribed to this
* people tag, re-count if the argument is true.
* @param boolean $recount whether to ignore cache
* @return integer count
function blowNoticeStreamCache($all=false)
self::blow('profile_list:notice_ids:%d', $this->id);
if ($all) {
self::blow('profile_list:notice_ids:%d;last', $this->id);
* get the Profile_list object by the
* given tagger and with given tag
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment