Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/BackgroundJob/CheckHostedSignalingServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ protected function run($argument): void {
if ($e->getCode() === Http::STATUS_NOT_FOUND) {
// Account was deleted, so remove the information locally
$accountInfo = ['status' => 'deleted'];
} elseif ($e->getCode() === Http::STATUS_UNAUTHORIZED) {
// Account is expired and deletion is pending unless it's reactivated.
$accountInfo = ['status' => 'expired'];
} else {
// API or connection issues - do nothing and just try again later
return;
Expand Down
2 changes: 0 additions & 2 deletions lib/Controller/HostedSignalingServerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ public function deleteAccount(): DataResponse {
} catch (HostedSignalingServerAPIException $e) {
if ($e->getCode() === Http::STATUS_NOT_FOUND) {
// Account was deleted, so remove the information locally
} elseif ($e->getCode() === Http::STATUS_UNAUTHORIZED) {
// Account is expired and deletion is pending unless it's reactivated.
} else {
// API or connection issues - do nothing and just try again later
return new DataResponse(['message' => $e->getMessage()], Http::STATUS_INTERNAL_SERVER_ERROR);
Expand Down
Loading