function __construct($upstream, $profile = -1) { parent::__construct($upstream); // Invalid but not null if (is_int($profile) && $profile == -1) { $profile = Profile::current(); } $this->profile = $profile; }
function getNotices($offset, $limit, $sinceId = null, $maxId = null) { // Clear this each time we're called $this->seen = array(); return parent::getNotices($offset, $limit, $sinceId, $maxId); }