Skip to content
Snippets Groups Projects
Commit a4b53127 authored by Julius Härtl's avatar Julius Härtl
Browse files

Do not include non-required scripts on the upgrade page


Signed-off-by: default avatarJulius Härtl <jus@bitgrid.net>
parent 2bedfbd4
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ class OC_Template extends \OC\Template\Base {
OC_Util::addStyle('server', null, true);
OC_Util::addTranslations('core', null, true);
if (\OC::$server->getSystemConfig()->getValue('installed', false)) {
if (\OC::$server->getSystemConfig()->getValue('installed', false) && !\OCP\Util::needUpgrade()) {
OC_Util::addScript('merged-template-prepend', null, true);
OC_Util::addScript('dist/files_client', null, true);
OC_Util::addScript('dist/files_fileinfo', null, true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment