summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-14 17:42:31 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-14 17:42:31 +0100
commitb48ddc94a9caa1c482a7260a298f5418b6028793 (patch)
treeadca97d9fe1557d0bf5156dca5cda794b328d7d7
parent3f64d37f2afd2f9a706df7495d543dccdb51c1f7 (diff)
parent2d1b9a5f9f3ae1b7f5f9de9b8742acdb29a9a65e (diff)
downloadnextcloud-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.php2
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);