diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-01-14 16:57:33 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-01-14 16:57:33 +0100 |
commit | 2d1b9a5f9f3ae1b7f5f9de9b8742acdb29a9a65e (patch) | |
tree | 5849a43824506ccc2cc01c1cdb998ddfb4b0eb18 /settings/users.php | |
parent | 8f89e3520d74e1805dc46947742a17683ece6ca7 (diff) | |
download | nextcloud-server-2d1b9a5f9f3ae1b7f5f9de9b8742acdb29a9a65e.tar.gz nextcloud-server-2d1b9a5f9f3ae1b7f5f9de9b8742acdb29a9a65e.zip |
allow apps to load additional scripts on the user settings page via the event dispatcher
Diffstat (limited to 'settings/users.php')
-rw-r--r-- | settings/users.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/users.php b/settings/users.php index 81f6ed4335c..9d89ff65b4a 100644 --- a/settings/users.php +++ b/settings/users.php @@ -103,6 +103,8 @@ $defaultQuota=$config->getAppValue('files', 'default_quota', 'none'); $defaultQuotaIsUserDefined=array_search($defaultQuota, $quotaPreset)===false && array_search($defaultQuota, array('none', 'default'))===false; +\OC::$server->getEventDispatcher()->dispatch('OC\Settings\Users::loadAdditionalScripts'); + $tmpl = new OC_Template("settings", "users/main", "user"); $tmpl->assign('groups', $groups); $tmpl->assign('sortGroups', $sortGroupsBy); |