Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69549961 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

register backgroundjob as service

parent 8f343b9d
Loading
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -128,10 +128,8 @@ class Application extends App implements IBootstrap {
	 * @inheritDoc
	 */
	public function boot(IBootContext $context): void {
		$context->getServerContainer()->registerService('InvitationMiddleware', function($c){
            return new InvitationMiddleware(
                $c->get(IRequest::class),
                $c->get(IConfig::class),
		$context->getServerContainer()->registerService('SendInviteResponseMailJob', function($c){
            return new SendInviteResponseMailJob(
                $c->get(IDBConnection::class),
                $c->get(IManager::class),
				$c->get(IMailer::class),