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