Return back theme config after web upgrade

It is very annoying to go on server and edit `config.php` after web upgrade. 
Is not web upgrade should prevent "go on server" ?
This commit is contained in:
zorn-v 2019-11-17 22:09:35 +10:00 committed by GitHub
parent 637d89727c
commit ed8429ad08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -397,6 +397,7 @@ class OC {
$tmpl->assign('productName', 'Nextcloud'); // for now
$tmpl->assign('oldTheme', $oldTheme);
$tmpl->printPage();
$systemConfig->setValue('theme', $oldTheme);
}
public static function initSession() {