Clean code of Api\Search
This commit is contained in:
parent
31feea1b7a
commit
fc447f07c4
|
@ -2,8 +2,7 @@
|
|||
|
||||
namespace Friendica\Directory\Controllers\Api;
|
||||
|
||||
use \Friendica\Directory\Content\Pager;
|
||||
use PDO;
|
||||
use Friendica\Directory\Content\Pager;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
|
||||
|
@ -74,7 +73,6 @@ AND `account_type` = :account_type';
|
|||
'profiles' => $profiles
|
||||
];
|
||||
|
||||
// Render index view
|
||||
return $response->withJson($vars);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue