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:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-07-07 03:56:37 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-07-07 03:56:37 +0400
commit35b84538f8bc82f03049a5414f46b918fdd5d96c (patch)
tree67468762ed05f7a6021bc766c33568aba5d2e14f /plugins/Overlay
parentf3301e8f9f84efce9f698b18d13aff79f5eaf4f1 (diff)
Make Piwik_Access a singleton instance and remove use of Zend_Registry for the Piwik_Access singleton.
Diffstat (limited to 'plugins/Overlay')
-rw-r--r--plugins/Overlay/API.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Overlay/API.php b/plugins/Overlay/API.php
index 9c06d11177..70f55adf6c 100644
--- a/plugins/Overlay/API.php
+++ b/plugins/Overlay/API.php
@@ -110,7 +110,7 @@ class Piwik_Overlay_API
array(&$notification, $allowCookieAuthentication = true));
$auth = Zend_Registry::get('auth');
- $success = Zend_Registry::get('access')->reloadAccess($auth);
+ $success = Piwik_Access::getInstance()->reloadAccess($auth);
if (!$success) {
throw new Exception('Authentication failed');