InfectedLan / InfectedAPI

Backend for Infected's web solutions.
GNU Lesser General Public License v3.0
3 stars 2 forks source link

Last minute compo API change, broke InfectedMain. #188

Closed halvors closed 8 years ago

halvors commented 8 years ago

Last minute compo API change, broke InfectedMain.

PHP Fatal error: Call to undefined method Compo::getMode() in /home/infected.no/public_html/main/v7/pages/competitions.php on line 38, referer: https://infected.no/v7/

petterroea commented 8 years ago

Oh yeah. Fuck. My responsibility, i'l fix it

halvors commented 8 years ago

Good :)

halvors commented 8 years ago

Just a matter of calling the right functions from the InfectedMain page.

petterroea commented 8 years ago

Yeah, mode will be replaced by $compo->teamSize() . "v" . $compo->teamSize()

So simple fix. I just can't get main running locally :dancer:

petterroea commented 8 years ago

@halvors Warbo said you fixed this, is it true?

halvors commented 8 years ago

Yeah. Closing the issue.