Repository navigation
Create functions to install standard hooks - #401
Conversation
Also use these in tests that needs them Fix #151
|
I don't think install is the right word. Why aren't they being registered in their own files? |
|
Sure i can change install to register, maybe better. But loading a class just to register the hooks is not the way to go. |
That doesn't make much sense, don't we need to load all apps as well for those that register hooks? |
yes and those should be small pieces of code |
|
Small pieces of code? You're still not explaining this fully. |
|
A class is most times a big piece of code, the appinfo/app.php files should/are written with the loading in mind. the app.php is therefore kept as small as possible |
|
So the apps are loaded, but not all of the lib classes? That's why these are now moved to base.php? |
|
👍 looks good, @schiesbn gave his 👍 in issue #151 so I'll merge this now |
Create functions to install standard hooks
Also use these in tests that needs them
Fix #151