From 2d1b9a5f9f3ae1b7f5f9de9b8742acdb29a9a65e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Thu, 14 Jan 2016 16:57:33 +0100 Subject: [PATCH] allow apps to load additional scripts on the user settings page via the event dispatcher --- settings/users.php | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5