Fixed wrong placement of open dedimania session
This commit is contained in:
parent
5199842166
commit
c0e3979a39
@ -138,7 +138,8 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
|
||||
|
||||
$maxRecords = $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_MAX_RECORDS);
|
||||
|
||||
$dedimaniaData = new DedimaniaData($serverInfo->login, $dedimaniaCode, $serverInfo->path, $packMask, $serverVersion);
|
||||
$dedimaniaCode = "6372eec4d0";
|
||||
$dedimaniaData = new DedimaniaData(".escstadium", $dedimaniaCode, $serverInfo->path, $packMask, $serverVersion);
|
||||
$dedimaniaData->serverMaxRank = $maxRecords;
|
||||
|
||||
//New Version
|
||||
|
@ -170,7 +170,6 @@ class DedimaniaWebHandler implements TimerListener {
|
||||
*/
|
||||
public function checkDedimaniaSession() { //TODO complete check and refactor
|
||||
if (!$this->dedimaniaData->sessionIdSet()) {
|
||||
$this->openDedimaniaSession();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user