]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/createsim.php
make the default scope depend on site/private
[quix0rs-gnu-social.git] / scripts / createsim.php
index 14790aa8f39467751de56409c383876cb23652be..e3677e1564bda25293619f7acb4b2299b61aefd7 100644 (file)
@@ -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));