return false;
}
- function getLists($auth_user, $offset=0, $limit=null, $since_id=0, $max_id=0)
+ function getLists(Profile $scoped=null, $offset=0, $limit=null, $since_id=0, $max_id=0)
{
$ids = array();
self::cacheSet($keypart, implode(',', $ids));
}
- $showPrivate = (($auth_user instanceof User ||
- $auth_user instanceof Profile) &&
- $auth_user->id === $this->id);
+ $showPrivate = $this->sameAs($scoped);
$lists = array();