From 98ac6e02f5b057ed5b355dbdbf2fe637aa9b299d Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 5 Dec 2023 19:58:20 +0100 Subject: [PATCH] Fix unneeded php command use in installto.sh and deluser.sh scripts (#9237) --- CHANGELOG.md | 2 ++ bin/deluser.sh | 2 +- bin/installto.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88e6e99d7d3..4ff517d382a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,8 @@ - Fix page jump menu flickering on click (#9196) - Update to TinyMCE 5.10.9 security release (#9228) - Fix PHP8 warnings (#9235, #9238) +- Fix saving other encryption settings besides enigma's (#9240) +- Fix unneeded php command use in installto.sh and deluser.sh scripts (#9237) ## Release 1.6.5 diff --git a/bin/deluser.sh b/bin/deluser.sh index 7847b417333..a1c5ffeb3a5 100755 --- a/bin/deluser.sh +++ b/bin/deluser.sh @@ -57,7 +57,7 @@ if (!empty($args['age']) && ($age = intval($args['age']))) { printf("%s (%s)\n", $user['username'], $user['mail_host']); continue; } - system(sprintf("php %s/deluser.sh --host=%s %s", INSTALL_PATH . 'bin', escapeshellarg($user['mail_host']), escapeshellarg($user['username']))); + system(sprintf("%s/deluser.sh --host=%s %s", INSTALL_PATH . 'bin', escapeshellarg($user['mail_host']), escapeshellarg($user['username']))); } exit(0); } diff --git a/bin/installto.sh b/bin/installto.sh index 6fc226a1df2..fb515f324a0 100755 --- a/bin/installto.sh +++ b/bin/installto.sh @@ -140,7 +140,7 @@ if (strtolower($input) == 'y') { } echo "Running update script at target...\n"; - system("cd $target_dir && php bin/update.sh --version=$oldversion" . ($accept ? ' -y' : '')); + system("cd $target_dir && bin/update.sh --version=$oldversion" . ($accept ? ' -y' : '')); echo "All done.\n"; } else {