public static function matchExists($matchId)
    {
        $db = Db::obtain();
        $r = $db->queryFirstPDO(
            'SELECT match_id FROM ' . Db::realTablename('matches') . ' WHERE match_id = ?',
            array($matchId)
        );
        return ((bool)$r);
    }
public static function matchExists($matchId)
    {
        $db = Db::obtain();
        $r = $db->queryFirstPDO(
            'SELECT match_id FROM ' . Db::realTablename('matches') . ' WHERE match_id = ?',
            array($matchId)
        );
        return ((bool)$r);
    }
public static function matchExists ( $ matchId ) { $ db = Db :: obtain ( ) ; $ r = $ db -> queryFirstPDO ( 'SELECT match_id FROM ' . Db :: realTablename ( 'matches' ) . ' WHERE match_id = ?' , array ( $ matchId ) ) ; return ( ( bool ) $ r ) ; }
Delete match data from db

@param int $matchId
@return bool
Delete match data from db