array_values($locationIds), ]); if ($res !== false) { $lectureId = $res['lectureid']; $autoLogin = $res['autologin']; } return $res !== false; } }