mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
Merge pull request #52427 from nextcloud/chore/dav/first-class-callable
refactor(dav): use first class callable syntax to boot the app
This commit is contained in:
commit
de23547ef9
1 changed files with 4 additions and 4 deletions
|
|
@ -228,10 +228,10 @@ class Application extends App implements IBootstrap {
|
|||
// Load all dav apps
|
||||
\OC_App::loadApps(['dav']);
|
||||
|
||||
$context->injectFn([$this, 'registerHooks']);
|
||||
$context->injectFn([$this, 'registerContactsManager']);
|
||||
$context->injectFn([$this, 'registerCalendarManager']);
|
||||
$context->injectFn([$this, 'registerCalendarReminders']);
|
||||
$context->injectFn($this->registerHooks(...));
|
||||
$context->injectFn($this->registerContactsManager(...));
|
||||
$context->injectFn($this->registerCalendarManager(...));
|
||||
$context->injectFn($this->registerCalendarReminders(...));
|
||||
}
|
||||
|
||||
public function registerHooks(
|
||||
|
|
|
|||
Loading…
Reference in a new issue