Seditio Source
Root |
./othercms/xenForo 2.2.8/src/XF/MemberStat/Solutions.php
<?php

namespace XF\MemberStat;

use function
boolval;

class
Solutions
{
    public static function
isVisible(\XF\Entity\MemberStat $memberStat): bool
   
{
        return
boolval(\XF::db()->fetchOne("
            SELECT user_id
            FROM xf_user
            WHERE question_solution_count > 0
            LIMIT 1
        "
));
    }
}