You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was merged into zikula:1.3 branch.
Discussion
----------
Convert system modules to Dependency Injection
When this PR is merged, the profiler will report several errors like "ERROR - Event handler was not attached for event 'get.pending_content' because method 'Zikula\Module\UsersModule\Listener\PendingContentListener::pendingContentListener' is not callable" **this is expected behavior** if (and only if) you are using a development version of the core. Once you reinstall the core or run `upgrade.php` on your original site, this will be take care of. Instead, one can also safely manually delete the `/EventHandler` entries in the `module_vars` table for the **core modules**. if you cannot live with the red errors in your profiler bar.
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #1545
| Refs tickets | -
| License | MIT
| Doc PR | -
Commits
-------
0f1646f refactor Users module to use DependencyInjection. refs #1545 craigh
116902c refactor Search module to use DependencyInjection. refs #1545 craigh
1ab0fec refactor Settings module to use DependencyInjection. refs #1545 craigh
83ac114 refactor Extensions module to use DependencyInjection. refs #1545 craigh
db2950e refactor Extensions module to use DependencyInjection. refs #1545 craigh
432c1b2 revert individual module upgrade routines and handle all in the main upgrade.php file instead. craigh
7851b5b corrections and split listeners into more descriptively named classes and change service names to match. craigh
381c334 CS fixes craigh
refactor for Dependency Injection
The text was updated successfully, but these errors were encountered: