Browse Source

Fix unneeded php command use in installto.sh and deluser.sh scripts (#9237)

pull/9518/head
Aleksander Machniak 2 years ago
parent
commit
b2c2545ee3
  1. 2
      CHANGELOG.md
  2. 2
      bin/deluser.sh
  3. 2
      bin/installto.sh

2
CHANGELOG.md

@ -7,6 +7,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

2
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);
}

2
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 {

Loading…
Cancel
Save