]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/createsim.php
Declare global usage in common.php so setup works right when called from phpunit...
[quix0rs-gnu-social.git] / scripts / createsim.php
index 592853f8633e679798ec3b322c466fd6af023e27..1266a9700b674ca58f76551b5417eee55cac5667 100644 (file)
@@ -85,7 +85,7 @@ function newSub($i)
     $from = User::staticGet('nickname', $fromnick);
 
     if (empty($from)) {
-        throw new Exception("Cannot find user '$fromnick'.");
+        throw new Exception("Can't find user '$fromnick'.");
     }
 
     $t = rand(0, $i - 1);
@@ -102,7 +102,7 @@ function newSub($i)
     $to = User::staticGet('nickname', $tunic);
 
     if (empty($to)) {
-        throw new Exception("Cannot find user '$tunic'.");
+        throw new Exception("Can't find user '$tunic'.");
     }
 
     subs_subscribe_to($from, $to);