Possibly fixing one test
This commit is contained in:
parent
71cf72cc8b
commit
55679a6021
|
@ -22,6 +22,7 @@
|
|||
namespace Friendica\Module\Api\Friendica\Group;
|
||||
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Module\BaseApi;
|
||||
use Friendica\Network\HTTPException;
|
||||
|
|
|
@ -54,9 +54,6 @@ class Destroy extends BaseApi
|
|||
|
||||
$id = $this->getRequestValue($request, 'id', 0);
|
||||
$id = $this->getRequestValue($this->parameters, 'id', $id);
|
||||
if (empty($id)) {
|
||||
throw new BadRequestException('Message id not specified');
|
||||
}
|
||||
|
||||
$verbose = $this->getRequestValue($request, 'friendica_verbose', false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user