Skip to content

Commit

Permalink
Fix unneeded php command use in installto.sh and deluser.sh scripts (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Dec 5, 2023
1 parent edf2a95 commit 98ac6e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion bin/deluser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion bin/installto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 98ac6e0

Please sign in to comment.