]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't choke on dupelimit in createsim.php
authorEvan Prodromou <evan@status.net>
Fri, 26 Feb 2010 17:19:33 +0000 (12:19 -0500)
committerEvan Prodromou <evan@status.net>
Fri, 26 Feb 2010 17:19:33 +0000 (12:19 -0500)
scripts/createsim.php

index 882d744564dbb4c4398cf9741fe7d6eafc90d739..e0b5fc906be8c0e9fc79bb50d20496f8aa786cd7 100644 (file)
@@ -119,6 +119,9 @@ function newSub($i)
 
 function main($usercount, $noticeavg, $subsavg, $tagmax)
 {
+    global $config;
+    $config['site']['dupelimit'] = -1;
+
     $n = 1;
 
     newUser(0);