forked from GNUsocial/gnu-social
		
	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).
		
			
				
	
	
		
			12 lines
		
	
	
		
			251 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			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));
 | |
|     }
 | |
| }
 |