From: Evan Prodromou Date: Thu, 8 Mar 2012 14:17:48 +0000 (-0600) Subject: don't use getProfile() when looping X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f5ba2f6b8e49e07d9e9b39a97c3a6813963d2fc7;p=quix0rs-gnu-social.git don't use getProfile() when looping --- diff --git a/scripts/testuser.php b/scripts/testuser.php index 221f962842..dc79548bdb 100644 --- a/scripts/testuser.php +++ b/scripts/testuser.php @@ -60,7 +60,7 @@ function testUser($filter, $user) { printfnq("Testing user %s\n", $user->nickname); - $profile = $user->getProfile(); + $profile = Profile::staticGet('id', $user->id); $str = new ProfileNoticeStream($profile, $profile);