public function setGlobalExcludedUserAgents($excludedUserAgents) { Piwik::checkUserHasSuperUserAccess(); // update option $excludedUserAgents = $this->checkAndReturnCommaSeparatedStringList($excludedUserAgents); Option::set(self::OPTION_EXCLUDED_USER_AGENTS_GLOBAL, $excludedUserAgents); // make sure tracker cache will reflect change Cache::deleteTrackerCache(); }