Commit 14308c21 authored by Evan Prodromou's avatar Evan Prodromou

Don't show featuredusersection by default

parent a2d1eb39
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment