Browse Source

allow apps to load additional scripts on the user settings page via the event dispatcher

tags/v9.0beta1
Jörn Friedrich Dreyer 8 years ago
parent
commit
2d1b9a5f9f
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      settings/users.php

+ 2
- 0
settings/users.php View File

@@ -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);

Loading…
Cancel
Save