diff options
author | diosmosis <benaka@piwik.pro> | 2014-09-30 04:19:58 +0400 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-09-30 16:37:37 +0400 |
commit | 8e82428416bd17832b5f059ae8b6933f301c4719 (patch) | |
tree | d2900459458e5107c24c86e5c6fcd5f03555fbe4 /core/Piwik.php | |
parent | 0401d7e82714a770a4835b1ad4a90a42fbed0f15 (diff) |
Deprecating Piwik::setUserHasSuperUserAccess() and switching to Access::doAsSuperUser().
Diffstat (limited to 'core/Piwik.php')
-rw-r--r-- | core/Piwik.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Piwik.php b/core/Piwik.php index ea49b72675..16f50f387f 100644 --- a/core/Piwik.php +++ b/core/Piwik.php @@ -427,7 +427,10 @@ 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) { |