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:
Diffstat (limited to 'core/Piwik.php')
-rw-r--r--core/Piwik.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/Piwik.php b/core/Piwik.php
index bf98a9df9b..285557ea47 100644
--- a/core/Piwik.php
+++ b/core/Piwik.php
@@ -336,20 +336,6 @@ class Piwik
}
/**
- * Helper method user to set the current as superuser.
- * This should be used with great care as this gives the user all permissions.
- *
- * This method is deprecated, use {@link Access::doAsSuperUser()} instead.
- *
- * @param bool $bool true to set current user as Super User
- * @deprecated
- */
- public static function setUserHasSuperUserAccess($bool = true)
- {
- Access::getInstance()->setSuperUserAccess($bool);
- }
-
- /**
* Check that the current user has superuser access.
*
* @throws Exception if the current user is not the superuser.