|
@@ -167,7 +167,7 @@ discard block |
|
|
block discarded – undo |
|
167
|
167
|
* @throws \OCP\AppFramework\QueryException |
|
168
|
168
|
*/ |
|
169
|
169
|
protected function registerCommentsEventHandler() { |
|
170
|
|
- $this->getContainer()->getServer()->getCommentsManager()->registerEventHandler(function () { |
|
|
170
|
+ $this->getContainer()->getServer()->getCommentsManager()->registerEventHandler(function() { |
|
171
|
171
|
return $this->getContainer()->query(CommentEventHandler::class); |
|
172
|
172
|
}); |
|
173
|
173
|
} |
|
@@ -195,7 +195,7 @@ discard block |
|
|
block discarded – undo |
|
195
|
195
|
} |
|
196
|
196
|
$resourceManager->registerResourceProvider(\OCA\Deck\Collaboration\Resources\ResourceProvider::class); |
|
197
|
197
|
|
|
198
|
|
- \OC::$server->getEventDispatcher()->addListener('\OCP\Collaboration\Resources::loadAdditionalScripts', function () { |
|
|
198
|
+ \OC::$server->getEventDispatcher()->addListener('\OCP\Collaboration\Resources::loadAdditionalScripts', function() { |
|
199
|
199
|
\OCP\Util::addScript('deck', 'build/collections'); |
|
200
|
200
|
}); |
|
201
|
201
|
} |
Please login to merge, or discard this patch.