@ -87,6 +87,11 @@ class Manager {
$result = $query -> execute ();
while ( $row = $result -> fetch ()) {
if ( $row [ 'token' ] === null ) {
// FIXME Temporary solution for the Talk6 release
continue ;
}
$room = $this -> createRoomObject ( $row );
$callback ( $room );
}
@ -160,6 +165,11 @@ class Manager {
$result = $query -> execute ();
$rooms = [];
while ( $row = $result -> fetch ()) {
if ( $row [ 'token' ] === null ) {
// FIXME Temporary solution for the Talk6 release
continue ;
}
$room = $this -> createRoomObject ( $row );
if ( $participant !== null && isset ( $row [ 'user_id' ])) {
$room -> setParticipant ( $row [ 'user_id' ], $this -> createParticipantObject ( $room , $row ));
@ -202,6 +212,11 @@ class Manager {
throw new RoomNotFoundException ();
}
if ( $row [ 'token' ] === null ) {
// FIXME Temporary solution for the Talk6 release
throw new RoomNotFoundException ();
}
$room = $this -> createRoomObject ( $row );
if ( $participant !== null && isset ( $row [ 'user_id' ])) {
$room -> setParticipant ( $row [ 'user_id' ], $this -> createParticipantObject ( $room , $row ));
@ -252,6 +267,11 @@ class Manager {
throw new RoomNotFoundException ();
}
if ( $row [ 'token' ] === null ) {
// FIXME Temporary solution for the Talk6 release
throw new RoomNotFoundException ();
}
$room = $this -> createRoomObject ( $row );
if ( $participant !== null && isset ( $row [ 'user_id' ])) {
$room -> setParticipant ( $row [ 'user_id' ], $this -> createParticipantObject ( $room , $row ));
@ -287,6 +307,11 @@ class Manager {
throw new RoomNotFoundException ();
}
if ( $row [ 'token' ] === null ) {
// FIXME Temporary solution for the Talk6 release
throw new RoomNotFoundException ();
}
return $this -> createRoomObject ( $row );
}
@ -309,6 +334,11 @@ class Manager {
throw new RoomNotFoundException ();
}
if ( $row [ 'token' ] === null ) {
// FIXME Temporary solution for the Talk6 release
throw new RoomNotFoundException ();
}
return $this -> createRoomObject ( $row );
}
@ -333,6 +363,11 @@ class Manager {
throw new RoomNotFoundException ();
}
if ( $row [ 'token' ] === null ) {
// FIXME Temporary solution for the Talk6 release
throw new RoomNotFoundException ();
}
return $this -> createRoomObject ( $row );
}
@ -366,6 +401,11 @@ class Manager {
throw new RoomNotFoundException ();
}
if ( $row [ 'token' ] === null ) {
// FIXME Temporary solution for the Talk6 release
throw new RoomNotFoundException ();
}
$room = $this -> createRoomObject ( $row );
$participant = $this -> createParticipantObject ( $room , $row );
$room -> setParticipant ( $row [ 'user_id' ], $participant );
@ -419,6 +459,11 @@ class Manager {
throw new RoomNotFoundException ();
}
if ( $row [ 'token' ] === null ) {
// FIXME Temporary solution for the Talk6 release
throw new RoomNotFoundException ();
}
return $this -> createRoomObject ( $row );
}