@@ -23,6 +23,6 @@ |
||
23 | 23 | |
24 | 24 | return [ |
25 | 25 | 'routes' => [ |
26 | - [ 'name' => 'AdminSettings#setSendInvitations', 'url' => '/setSendInvitation', 'verb' => 'POST' ], |
|
26 | + ['name' => 'AdminSettings#setSendInvitations', 'url' => '/setSendInvitation', 'verb' => 'POST'], |
|
27 | 27 | ] |
28 | 28 | ]; |
@@ -87,7 +87,7 @@ |
||
87 | 87 | $server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin()); |
88 | 88 | |
89 | 89 | if ($sendInvitations) { |
90 | - $server->addPlugin(new \OCA\DAV\CalDAV\Schedule\IMipPlugin( \OC::$server->getMailer(), \OC::$server->getLogger(), new \OC\AppFramework\Utility\TimeFactory())); |
|
90 | + $server->addPlugin(new \OCA\DAV\CalDAV\Schedule\IMipPlugin(\OC::$server->getMailer(), \OC::$server->getLogger(), new \OC\AppFramework\Utility\TimeFactory())); |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | $server->addPlugin(new ExceptionLoggerPlugin('caldav', \OC::$server->getLogger())); |
@@ -54,7 +54,7 @@ |
||
54 | 54 | * @param boolean $sendInvitations |
55 | 55 | * @return JSONResponse |
56 | 56 | */ |
57 | - public function setSendInvitations($sendInvitations) { |
|
57 | + public function setSendInvitations($sendInvitations) { |
|
58 | 58 | if ($sendInvitations === null) { |
59 | 59 | return new JSONResponse([], Http::STATUS_BAD_REQUEST); |
60 | 60 | } |