Renamed //restart to //reboot

This commit is contained in:
Alexander Nell
2020-04-24 18:51:38 +02:00
parent 8d9af39797
commit c2064c8d78
7 changed files with 30 additions and 27 deletions

View File

@ -199,7 +199,7 @@ class ErrorHandler {
if ($isFatalError) {
if ($isPluginError) {
$this->maniaControl->restart();
$this->maniaControl->reboot();
} else {
$this->maniaControl->quit('Quitting ManiaControl after Fatal Error.');
}
@ -513,7 +513,7 @@ class ErrorHandler {
if ($shutdown) {
if ($this->shouldRestart()) {
$this->maniaControl->restart();
$this->maniaControl->reboot();
}
try {
$this->maniaControl->quit('Quitting ManiaControl after Exception.');