diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-14 17:42:31 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-14 17:42:31 +0100 |
commit | b48ddc94a9caa1c482a7260a298f5418b6028793 (patch) | |
tree | adca97d9fe1557d0bf5156dca5cda794b328d7d7 | |
parent | 3f64d37f2afd2f9a706df7495d543dccdb51c1f7 (diff) | |
parent | 2d1b9a5f9f3ae1b7f5f9de9b8742acdb29a9a65e (diff) | |
download | nextcloud-server-b48ddc94a9caa1c482a7260a298f5418b6028793.tar.gz nextcloud-server-b48ddc94a9caa1c482a7260a298f5418b6028793.zip |
Merge pull request #21727 from owncloud/adddispatchtousersettings
allow apps to load additional scripts on the user settings page ...
-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); |