public_html/piwik/plugins/SitesManager/API.php
/**
     * Insert the list of alias URLs for the website.
     * The URLs must not exist already for this website!
     */
Insert the list of alias URLs for the website.
The URLs must not exist already for this website!
Insert the list of alias URLs for the website . The URLs must not exist already for this website!
private function insertSiteUrls($idSite, $urls)
    {
        if (count($urls) != 0) {
            foreach ($urls as $url) {
                try {
                    $this->getModel()->insertSiteUrl($idSite, $url);
                } catch(Exception $e) {
                }
            }
        }
    }
private function insertSiteUrls ( $ idSite , $ urls ) { if ( count ( $ urls ) != 0 ) { foreach ( $ urls as $ url ) { try { $ this -> getModel ( ) -> insertSiteUrl ( $ idSite , $ url ) ; } catch ( Exception $ e ) { } } } }
Insert the list of alias URLs for the website.
Insert the list of alias URLs for the website .
// See bug #4149