mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
refactor(dav): use first class callable syntax to boot the app
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
parent
0c3ebbfed5
commit
109422f24e
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