From 553c9091957a913b8bc8c255b13416490b002073 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sun, 12 Feb 2023 13:38:02 +0100 Subject: [PATCH] adapt update script --- update.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/update.php b/update.php index db75f116d9..86735f864c 100644 --- a/update.php +++ b/update.php @@ -1278,7 +1278,11 @@ function update_1514() $transactionalConfig->commit(); // 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; -- 2.39.5