Make allrss.php work with phpcs
This commit is contained in:
parent
cab322d21b
commit
8c3fe83c64
|
@ -54,6 +54,8 @@ class AllrssAction extends Rss10Action
|
||||||
/**
|
/**
|
||||||
* Initialization.
|
* Initialization.
|
||||||
*
|
*
|
||||||
|
* @param array $args Web and URL arguments
|
||||||
|
*
|
||||||
* @return boolean false if user doesn't exist
|
* @return boolean false if user doesn't exist
|
||||||
*/
|
*/
|
||||||
function prepare($args)
|
function prepare($args)
|
||||||
|
@ -104,7 +106,8 @@ class AllrssAction extends Rss10Action
|
||||||
'link' => common_local_url('all',
|
'link' => common_local_url('all',
|
||||||
array('nickname' =>
|
array('nickname' =>
|
||||||
$user->nickname)),
|
$user->nickname)),
|
||||||
'description' => sprintf(_('Feed for friends of %s'), $user->nickname));
|
'description' => sprintf(_('Feed for friends of %s'),
|
||||||
|
$user->nickname));
|
||||||
return $c;
|
return $c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,10 +126,5 @@ class AllrssAction extends Rss10Action
|
||||||
$avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
|
$avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
|
||||||
return $avatar ? $avatar->url : null;
|
return $avatar ? $avatar->url : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function isReadOnly()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user