diff --git a/webapp/controller/MatchController.class.php b/webapp/controller/MatchController.class.php index 564b7d84..80670b03 100644 --- a/webapp/controller/MatchController.class.php +++ b/webapp/controller/MatchController.class.php @@ -46,7 +46,9 @@ class MatchController extends BaseAuthedController { $r->set(MATCH_CURRENT_TEAM_KEY, json_encode($currMatchDb)); $this->refreshKeyExpire($r, MATCH_CURRENT_TEAM_KEY, 1000*600); } else { - + if ($currMatchDb['current_team'] != $teamUuid) { + $this->matchOk($r, $teamUuid, $currMatchDb); + } } } $this->_rspData(array( @@ -113,4 +115,9 @@ class MatchController extends BaseAuthedController { $r->pexpire($key, $time); } + private function matchOk($r, $teamUuid, $currMatchDb) + { + + } + }