mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Merge pull request #30745 from nextcloud/fix/dont_use_deprecated_methods
Use less deprecated methods in base.php
This commit is contained in:
commit
3e262c7e3a
2 changed files with 5 additions and 4 deletions
|
|
@ -160,6 +160,7 @@ window.addEventListener('DOMContentLoaded', function() {
|
|||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.update-show-detailed').on('click', function() {
|
||||
$('#update-progress-detailed').toggleClass('hidden');
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue