mirror of
https://github.com/friendica/friendica-directory
synced 2024-11-13 07:43:42 +01:00
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