gnu-social/lib/threadinggroupnoticestream.php
Mikael Nordfeldth 63c087a255 Consistent behaviour for ScopingNoticeStream $scoped
We don't guess the current profile anymore if the value of the profile === -1

Also sets $this->scoped for all ScopingNoticeStream inheritors, which just
like in an Action can be null if we're not scoped in any way (logged in).
2016-03-01 14:51:47 +01:00

12 lines
251 B
PHP

<?php
if (!defined('GNUSOCIAL')) { exit(1); }
class ThreadingGroupNoticeStream extends ThreadingNoticeStream
{
function __construct($group, Profile $scoped=null)
{
parent::__construct(new GroupNoticeStream($group, $scoped));
}
}