adapt update script

This commit is contained in:
Philipp 2023-02-12 13:38:02 +01:00
parent ab281d5190
commit 553c909195
No known key found for this signature in database
GPG key ID: 24A7501396EB5432

View file

@ -1278,7 +1278,11 @@ function update_1514()
$transactionalConfig->commit(); $transactionalConfig->commit();
// Rename the node.config.php so it won't get used, but it isn't deleted. // Rename the node.config.php so it won't get used, but it isn't deleted.
rename(dirname(__FILE__) . '/config/node.config.php', dirname(__FILE__) . '/config/node.config.php.bak'); if (rename(dirname(__FILE__) . '/config/node.config.php', dirname(__FILE__) . '/config/node.config.php.bak')) {
return Update::SUCCESS;
} else {
return Update::FAILED;
}
} }
return Update::SUCCESS; return Update::SUCCESS;