diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-04-20 12:30:48 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-04-20 12:30:48 +0200 |
commit | c670c23455f68a4d2dce1a0cf078c05429d200d9 (patch) | |
tree | 197a61561a0692117218cd7024555804df67b369 /settings/admin.php | |
parent | a296cbd203af89a8433f76dbc3a90872d627efda (diff) | |
download | nextcloud-server-c670c23455f68a4d2dce1a0cf078c05429d200d9.tar.gz nextcloud-server-c670c23455f68a4d2dce1a0cf078c05429d200d9.zip |
Add loadAdditionalScripts events to admin and personal for plugins that have no section
Diffstat (limited to 'settings/admin.php')
-rw-r--r-- | settings/admin.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php index e0d3a907f47..cfb7eb5c541 100644 --- a/settings/admin.php +++ b/settings/admin.php @@ -41,6 +41,8 @@ OC_Util::addScript('settings', 'certificates'); OC_Util::addScript('files', 'jquery.iframe-transport'); OC_Util::addScript('files', 'jquery.fileupload'); +\OC::$server->getEventDispatcher()->dispatch('OC\Settings\Admin::loadAdditionalScripts'); + $showLog = (\OC::$server->getConfig()->getSystemValue('log_type', 'owncloud') === 'owncloud'); $numEntriesToLoad = 3; $entries = OC_Log_Owncloud::getEntries($numEntriesToLoad + 1); |