private function checkName($siteName) { if (empty($siteName)) { throw new Exception(Piwik::translate("SitesManager_ExceptionEmptyName")); } }