Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2014-01-23 06:03:00 +0400
committerThomas Steur <thomas.steur@gmail.com>2014-01-23 06:03:00 +0400
commitdf54712a053b8ea326b2389a245de2a4b35fa4f7 (patch)
treec742dee2c363872c1e2411b3ae0e89dcb335df29 /misc/others
parent81e7f870124d2356c1784355e54fb4716901dfec (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.php2
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');