diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2014-01-23 06:03:00 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2014-01-23 06:03:00 +0400 |
commit | df54712a053b8ea326b2389a245de2a4b35fa4f7 (patch) | |
tree | c742dee2c363872c1e2411b3ae0e89dcb335df29 /misc/others | |
parent | 81e7f870124d2356c1784355e54fb4716901dfec (diff) |
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
Diffstat (limited to 'misc/others')
-rw-r--r-- | misc/others/test_cookies_GenerateHundredsWebsitesAndVisits.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |