make the default scope depend on site/private
This commit is contained in:
@@ -72,7 +72,7 @@ function newNotice($i, $tagmax)
|
||||
{
|
||||
global $userprefix;
|
||||
|
||||
$options = array('scope' => common_config('notice', 'defaultscope'));
|
||||
$options = array('scope' => Notice::defaultScope());
|
||||
|
||||
$n = rand(0, $i - 1);
|
||||
$user = User::staticGet('nickname', sprintf('%s%d', $userprefix, $n));
|
||||
|
Reference in New Issue
Block a user