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
path: root/core
diff options
context:
space:
mode:
authorMichal Gazdzik <m.gazdzik@clearcode.cc>2014-01-21 12:42:47 +0400
committerMichal Gazdzik <m.gazdzik@clearcode.cc>2014-01-21 12:42:47 +0400
commit9df658b5db3a7886289deea258490e6eb71ce3c1 (patch)
tree0f608c6239f595bdace3409c6f92049de9b687a1 /core
parent96ac58866e19101c50e1198349699a2a2416cb60 (diff)
changed Access.createAccessSingleton hook to allow plugins to inject custom Access class while authenticating
Diffstat (limited to 'core')
-rw-r--r--core/Access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Access.php b/core/Access.php
index 3ca89ff2a6..df59a9ecb0 100644
--- a/core/Access.php
+++ b/core/Access.php
@@ -47,7 +47,7 @@ class Access
if (self::$instance == null) {
self::$instance = new self;
- Piwik::postTestEvent('Access.createAccessSingleton', array(self::$instance));
+ Piwik::postEvent('Access.createAccessSingleton', array(&self::$instance));
}
return self::$instance;
}