remove type hinting -- fails when ArrayWrapper gets passed in some profile list pages

This commit is contained in:
Brion Vibber 2011-03-21 11:18:38 -07:00
parent 0a71622aa7
commit 01ecca5e60

View File

@ -129,9 +129,9 @@ class ModPlusPlugin extends Plugin
* Currently only adds output for remote profiles, nothing for local users. * Currently only adds output for remote profiles, nothing for local users.
* *
* @param HTMLOutputter $out * @param HTMLOutputter $out
* @param Profile $profile * @param Profile $profile (may also be an ArrayWrapper... sigh)
*/ */
protected function showProfileOptions(HTMLOutputter $out, Profile $profile) protected function showProfileOptions(HTMLOutputter $out, $profile)
{ {
$isRemote = !(User::staticGet('id', $profile->id)); $isRemote = !(User::staticGet('id', $profile->id));
if ($isRemote) { if ($isRemote) {