prettified code
This commit is contained in:
parent
a6831be5be
commit
468f937b2e
@ -14,8 +14,6 @@ use ManiaControl\Callbacks\Callbacks;
|
||||
use ManiaControl\Callbacks\Structures\TrackMania\OnWayPointEventStructure;
|
||||
use ManiaControl\Callbacks\TimerListener;
|
||||
use ManiaControl\Commands\CommandListener;
|
||||
use ManiaControl\Files\AsyncHttpRequest;
|
||||
use ManiaControl\Logger;
|
||||
use ManiaControl\ManiaControl;
|
||||
use ManiaControl\Manialinks\ManialinkManager;
|
||||
use ManiaControl\Players\Player;
|
||||
@ -526,7 +524,7 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
|
||||
$validationReplay = $this->maniaControl->getServer()->getValidationReplay($record->login);
|
||||
if ($validationReplay) {
|
||||
$record->vReplay = $validationReplay;
|
||||
}else{
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -10,8 +10,8 @@ use ManiaControl\Players\Player;
|
||||
|
||||
/**
|
||||
* ManiaControl Dedimania Webhandler Class for Dedimania Plugin
|
||||
*
|
||||
* Notice its not completely finished yet
|
||||
*
|
||||
* @author ManiaControl Team <mail@maniacontrol.com>
|
||||
* @copyright 2014-2017 ManiaControl Team
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
@ -279,7 +279,7 @@ class DedimaniaWebHandler {
|
||||
// Called method response
|
||||
if (!$methodResponse[0]) {
|
||||
Logger::logError("Records Plugin: Submitting dedimania records failed.");
|
||||
}else{
|
||||
} else {
|
||||
Logger::log("Dedimania Times succesfully submitted");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user