public function updateSocials()
    {
        $url = 'https://raw.githubusercontent.com/matomo-org/searchengine-and-social-list/master/Socials.yml';
        $list = Http::sendHttpRequest($url, 30);
        $socials = Social::getInstance()->loadYmlData($list);
        if (count($socials) < 50) {
            return;
        }
        Option::set(Social::OPTION_STORAGE_NAME, base64_encode(serialize($socials)));
    }
public function updateSocials()
    {
        $url = 'https://raw.githubusercontent.com/matomo-org/searchengine-and-social-list/master/Socials.yml';
        $list = Http::sendHttpRequest($url, 30);
        $socials = Social::getInstance()->loadYmlData($list);
        if (count($socials) < 50) {
            return;
        }
        Option::set(Social::OPTION_STORAGE_NAME, base64_encode(serialize($socials)));
    }
public function updateSocials ( ) { $ url = 'https://raw.githubusercontent.com/matomo-org/searchengine-and-social-list/master/Socials.yml' ; $ list = Http :: sendHttpRequest ( $ url , 30 ) ; $ socials = Social :: getInstance ( ) -> loadYmlData ( $ list ) ; if ( count ( $ socials ) < 50 ) { return ; } Option :: set ( Social :: OPTION_STORAGE_NAME , base64_encode ( serialize ( $ socials ) ) ) ; }
Update the social definitions

@see https://github.com/matomo-org/searchengine-and-social-list
Update the social definitions