projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e103005
)
(NFC) Tweak comment
author
Tim Otten
<totten@civicrm.org>
Wed, 17 Feb 2021 06:33:48 +0000
(22:33 -0800)
committer
GitHub
<noreply@github.com>
Wed, 17 Feb 2021 06:33:48 +0000
(22:33 -0800)
Civi/Core/Container.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Core/Container.php
b/Civi/Core/Container.php
index 5bc005b42744c548d49ac18cef676ffade34dbdc..7a02a56b451724015e7fa7f66d04874b41e13198 100644
(file)
--- a/
Civi/Core/Container.php
+++ b/
Civi/Core/Container.php
@@
-569,7
+569,8
@@
class Container {
$container->set($name, $obj);
}
\Civi::$statics[__CLASS__]['container'] = $container;
- // Ensure api factory has loaded (in case other roots have been bypassed)
+ // Ensure all container-based serivces have a chance to add their listeners.
+ // Without this, it's a matter of happenstance (dependent upon particular page-request/configuration/etc).
$container->get('dispatcher');
}