public function updateSearchEngines()
    {
        $url = 'https://raw.githubusercontent.com/matomo-org/searchengine-and-social-list/master/SearchEngines.yml';
        $list = Http::sendHttpRequest($url, 30);
        $searchEngines = SearchEngine::getInstance()->loadYmlData($list);
        if (count($searchEngines) < 200) {
            return;
        }
        Option::set(SearchEngine::OPTION_STORAGE_NAME, base64_encode(serialize($searchEngines)));
    }
public function updateSearchEngines()
    {
        $url = 'https://raw.githubusercontent.com/matomo-org/searchengine-and-social-list/master/SearchEngines.yml';
        $list = Http::sendHttpRequest($url, 30);
        $searchEngines = SearchEngine::getInstance()->loadYmlData($list);
        if (count($searchEngines) < 200) {
            return;
        }
        Option::set(SearchEngine::OPTION_STORAGE_NAME, base64_encode(serialize($searchEngines)));
    }
public function updateSearchEngines ( ) { $ url = 'https://raw.githubusercontent.com/matomo-org/searchengine-and-social-list/master/SearchEngines.yml' ; $ list = Http :: sendHttpRequest ( $ url , 30 ) ; $ searchEngines = SearchEngine :: getInstance ( ) -> loadYmlData ( $ list ) ; if ( count ( $ searchEngines ) < 200 ) { return ; } Option :: set ( SearchEngine :: OPTION_STORAGE_NAME , base64_encode ( serialize ( $ searchEngines ) ) ) ; }
Update the search engine definitions

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