Merge pull request #30745 from nextcloud/fix/dont_use_deprecated_methods

Use less deprecated methods in base.php
This commit is contained in:
Louis 2022-01-19 18:04:19 +01:00 committed by GitHub
commit 3e262c7e3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -160,6 +160,7 @@ window.addEventListener('DOMContentLoaded', function() {
});
return false;
});
$('.update-show-detailed').on('click', function() {
$('#update-progress-detailed').toggleClass('hidden');
return false;

View file

@ -365,10 +365,10 @@ class OC {
$oldTheme = $systemConfig->getValue('theme');
$systemConfig->setValue('theme', '');
OC_Util::addScript('core', 'common');
OC_Util::addScript('core', 'main');
OC_Util::addTranslations('core');
OC_Util::addScript('update', null, 'core');
\OCP\Util::addScript('core', 'common');
\OCP\Util::addScript('core', 'main');
\OCP\Util::addTranslations('core');
\OCP\Util::addScript('core', 'update');
/** @var \OC\App\AppManager $appManager */
$appManager = \OC::$server->getAppManager();