diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-10-27 13:50:38 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-10-27 13:50:38 +0200 |
commit | ca72c0150b3ea490c06c8c4824aebf0d0da33088 (patch) | |
tree | 19ee5efb85bcf2a97e60b0372320df129ac0f447 /apps/comments/lib/AppInfo | |
parent | bd951e926f7913568257f321f2894dfcc66aa3b3 (diff) | |
download | nextcloud-server-ca72c0150b3ea490c06c8c4824aebf0d0da33088.tar.gz nextcloud-server-ca72c0150b3ea490c06c8c4824aebf0d0da33088.zip |
configurable amount of autocomplete results in comments
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/comments/lib/AppInfo')
-rw-r--r-- | apps/comments/lib/AppInfo/Application.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/comments/lib/AppInfo/Application.php b/apps/comments/lib/AppInfo/Application.php index f168779cd0d..a863ca506b7 100644 --- a/apps/comments/lib/AppInfo/Application.php +++ b/apps/comments/lib/AppInfo/Application.php @@ -22,7 +22,9 @@ namespace OCA\Comments\AppInfo; use OCA\Comments\Controller\Notifications; +use OCA\Comments\JSSettingsHelper; use OCP\AppFramework\App; +use OCP\Util; class Application extends App { @@ -31,5 +33,8 @@ class Application extends App { $container = $this->getContainer(); $container->registerAlias('NotificationsController', Notifications::class); + + $jsSettingsHelper = new JSSettingsHelper($container->getServer()); + Util::connectHook('\OCP\Config', 'js', $jsSettingsHelper, 'extend'); } } |