private function createAlert($name, $period, $idSites, $metric, $report, $login = false)
 {
     if (false === $login) {
         $login = Piwik::getCurrentUserLogin();
     }
     $emails = array('*****@*****.**', '*****@*****.**');
     $phoneNumbers = array('0123456789');
     $reportMatched = '';
     if ('VisitsSummary_get' != $report) {
         $reportMatched = 'Piwik';
     }
     $model = new Model();
     $model->createAlert($name, $idSites, $login, $period, 0, $emails, $phoneNumbers, $metric, 'less_than', 5, $comparedTo = 1, $report, 'matches_exactly', $reportMatched);
 }