mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-08 16:36:25 +00:00
Registering ContactsManager for future use
This commit is contained in:
parent
fdb5d4845a
commit
ac2f60ae9a
@ -58,5 +58,12 @@ class Application extends App {
|
|||||||
return \OCP\User::getUser();
|
return \OCP\User::getUser();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Managers
|
||||||
|
*/
|
||||||
|
$container->registerService('ContactsManager', function($c){
|
||||||
|
return $c->getServer()->getContactsManager();
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user