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