Don't show featuredusersection by default
This commit is contained in:
parent
a2d1eb399f
commit
14308c21db
|
@ -42,6 +42,15 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
|||
*/
|
||||
class FeaturedUsersSection extends ProfileSection
|
||||
{
|
||||
function show()
|
||||
{
|
||||
$featured_nicks = common_config('nickname', 'featured');
|
||||
if (empty($featured_nicks)) {
|
||||
return;
|
||||
}
|
||||
parent::show();
|
||||
}
|
||||
|
||||
function getProfiles()
|
||||
{
|
||||
$featured_nicks = common_config('nickname', 'featured');
|
||||
|
|
Loading…
Reference in New Issue
Block a user