function pushGroup(User_group $group) { common_debug("OSTATUS [{$this->notice->getID()}]: pushing group '{$group->getNickname()}' profile_id={$group->profile_id}"); // For a local group, ping the PuSH hub to update its feed. // Updates may come from either a local or a remote user. $feed = common_local_url('ApiTimelineGroup', array('id' => $group->getID(), 'format' => 'atom')); $this->pushFeed($feed, array($this, 'groupFeedForNotice'), $group->getID()); }