Don't show featuredusersection by default

This commit is contained in:
Evan Prodromou 2011-04-14 16:25:13 -04:00
parent a2d1eb399f
commit 14308c21db

View File

@ -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');