adding debug logs
This commit is contained in:
		| @@ -256,6 +256,9 @@ class MatchManagerTMWTDuoIntegration implements CallbackListener, ManialinkPageA | ||||
| 			$this->maniaControl->getChat()->sendErrorToAdmins($this->MatchManagerCore->getChatPrefix() . "S_TeamsUrl must be defined"); | ||||
| 			return false; | ||||
| 		} | ||||
|  | ||||
| 		var_dump($this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_TEAM1), $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_TEAM2)); | ||||
|  | ||||
| 		if ( | ||||
| 			$this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_TEAM1) === '' || | ||||
| 			$this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_TEAM2) === '' | ||||
| @@ -351,6 +354,8 @@ class MatchManagerTMWTDuoIntegration implements CallbackListener, ManialinkPageA | ||||
| 					$team1 = $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_TEAM1); | ||||
| 					$team2 = $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_TEAM2); | ||||
|  | ||||
| 					var_dump($team1, $team2); | ||||
|  | ||||
| 					foreach ($json as $team) { | ||||
| 						if ($team->Id === $team1) { | ||||
| 							$team1 = null; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user