Minor - fix return value

pull/2926/head
Julio Montoya 6 years ago
parent e190df7d20
commit b2942a5dba
  1. 7
      plugin/bbb/lib/bbb.lib.php

@ -1153,13 +1153,8 @@ class bbb
} }
if ($recordExists) { if ($recordExists) {
$recordingParams = ['recordId' => $recordId]; return $this->api->generateRecording(['recordId' => $recordId]);
$result = $this->api->generateRecording($recordingParams);
if (!empty($result) && isset($result['deleted']) && $result['deleted'] === 'true') {
return true;
}
} }
} }
} }

Loading…
Cancel
Save