summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-26 12:19:33 -0500
committerEvan Prodromou <evan@status.net>2010-02-26 12:19:33 -0500
commit200a32b922134f986aa9833e57a6aaa636243e44 (patch)
tree6d46962d927cbb1221dfd31c48a420ef7ad150e7
parentb0a310563892a322b6857f51671b1087b1155fa2 (diff)
don't choke on dupelimit in createsim.php
-rw-r--r--scripts/createsim.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/createsim.php b/scripts/createsim.php
index 882d74456..e0b5fc906 100644
--- a/scripts/createsim.php
+++ b/scripts/createsim.php
@@ -119,6 +119,9 @@ function newSub($i)
function main($usercount, $noticeavg, $subsavg, $tagmax)
{
+ global $config;
+ $config['site']['dupelimit'] = -1;
+
$n = 1;
newUser(0);