mirror of https://github.com/sualko/cloud_bbb
fix: camel case errors
parent
bec283e60d
commit
1917bf116f
|
@ -138,7 +138,7 @@ class RoomController extends Controller {
|
||||||
return new DataResponse(['message' => 'Not allowed to enable recordings.'], Http::STATUS_BAD_REQUEST);
|
return new DataResponse(['message' => 'Not allowed to enable recordings.'], Http::STATUS_BAD_REQUEST);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$restriction->getallowLogoutURL() && $logoutURL !== $room->getlogoutURL()) {
|
if (!$restriction->getAllowLogoutURL() && $logoutURL !== $room->getLogoutURL()) {
|
||||||
return new DataResponse(['message' => 'Not allowed to enable custom logout URLs'], Https::STATUS_BAD_REQUEST);
|
return new DataResponse(['message' => 'Not allowed to enable custom logout URLs'], Https::STATUS_BAD_REQUEST);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,8 +58,8 @@ class RestrictionService {
|
||||||
$restriction->setAllowRecording($r->getAllowRecording());
|
$restriction->setAllowRecording($r->getAllowRecording());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$restriction->getallowLogoutURL() && $r->getallowLogoutURL()) {
|
if (!$restriction->getAllowLogoutURL() && $r->getAllowLogoutURL()) {
|
||||||
$restriction->setallowLogoutURL($r->getallowLogoutURL());
|
$restriction->setAllowLogoutURL($r->getAllowLogoutURL());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ class RestrictionService {
|
||||||
$restriction->setRoomTypes(\json_encode($roomTypes));
|
$restriction->setRoomTypes(\json_encode($roomTypes));
|
||||||
$restriction->setMaxParticipants(\max($maxParticipants, -1));
|
$restriction->setMaxParticipants(\max($maxParticipants, -1));
|
||||||
$restriction->setAllowRecording($allowRecording);
|
$restriction->setAllowRecording($allowRecording);
|
||||||
$restriction->setallowLogoutURL($allowLogoutURL);
|
$restriction->setAllowLogoutURL($allowLogoutURL);
|
||||||
|
|
||||||
return $this->mapper->update($restriction);
|
return $this->mapper->update($restriction);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|
Loading…
Reference in New Issue