don't use getProfile() when looping
This commit is contained in:
parent
ddcac1d1eb
commit
f5ba2f6b8e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user