From f5ba2f6b8e49e07d9e9b39a97c3a6813963d2fc7 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 8 Mar 2012 08:17:48 -0600 Subject: [PATCH] don't use getProfile() when looping --- scripts/testuser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);