diff options
author | diosmosis <benaka@piwik.pro> | 2015-05-21 00:41:43 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-05-21 18:32:41 +0300 |
commit | 0647faa7d74f16371475e24ccf8e9ad56e4b149b (patch) | |
tree | c3bd5b6fe4f1ec84e87143f0633893a71fa7fd56 /config | |
parent | 6e785703aca37f8db2434cc652ffa6de892652d1 (diff) |
Use observers.global DI config in TestingEnvironment to define event observers, since the container is not created at this point.
Diffstat (limited to 'config')
-rw-r--r-- | config/global.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/global.php b/config/global.php index de1fdf07e3..d89549efda 100644 --- a/config/global.php +++ b/config/global.php @@ -64,5 +64,5 @@ return array( 'observers.global' => array(), - 'Piwik\EventDispatcher' => DI\object()->constructorParameter('globalObservers', DI\get('observers.global')) + 'Piwik\EventDispatcher' => DI\object()->constructorParameter('observers', DI\get('observers.global')) ); |