Logo
Explore Help
Sign In
GNUsocial/gnu-social
4
0
Fork 1
You've already forked gnu-social
Code Issues Releases Wiki Activity
gnu-social/lib/threadinggroupnoticestream.php

12 lines
251 B
PHP
Raw Normal View History

Breaking class definitions out into separate files and fixing typing
2016-01-06 19:46:56 +01:00
<?php
if (!defined('GNUSOCIAL')) { exit(1); }
class ThreadingGroupNoticeStream extends ThreadingNoticeStream
{
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
function __construct($group, Profile $scoped=null)
Breaking class definitions out into separate files and fixing typing
2016-01-06 19:46:56 +01:00
{
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
parent::__construct(new GroupNoticeStream($group, $scoped));
Breaking class definitions out into separate files and fixing typing
2016-01-06 19:46:56 +01:00
}
}
Copy Permalink
Powered by Gitea Page: 82ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API