From df54712a053b8ea326b2389a245de2a4b35fa4f7 Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Thu, 23 Jan 2014 02:03:00 +0000 Subject: refs #4564 introducing some more new methods for has superuser access. Old methods will still work but are marked as deprecated and they will be removed in a future release --- misc/others/test_cookies_GenerateHundredsWebsitesAndVisits.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/others') diff --git a/misc/others/test_cookies_GenerateHundredsWebsitesAndVisits.php b/misc/others/test_cookies_GenerateHundredsWebsitesAndVisits.php index 28ea8d6a24..70040f497e 100644 --- a/misc/others/test_cookies_GenerateHundredsWebsitesAndVisits.php +++ b/misc/others/test_cookies_GenerateHundredsWebsitesAndVisits.php @@ -17,7 +17,7 @@ require_once PIWIK_INCLUDE_PATH . "/core/API/Request.php"; require_once PIWIK_INCLUDE_PATH . "/libs/PiwikTracker/PiwikTracker.php"; FrontController::getInstance()->init(); -Piwik::setUserIsSuperUser(); +Piwik::setUserHasSuperUserAccess(); $count = 100; for ($i = 0; $i <= $count; $i++) { $id = API::getInstance()->addSite(Common::getRandomString(), 'http://piwik.org'); -- cgit v1.2.3