1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

fix leftover

This commit is contained in:
Torsten Dittmann 2021-10-06 16:13:55 +02:00
parent 9941198a7f
commit 8083c182b0

View file

@ -210,12 +210,6 @@ App::get('/v1/database/collections')
/** @var Appwrite\Utopia\Response $response */
/** @var Utopia\Database\Database $dbForInternal */
$queries = [];
if (!empty($search)) {
$queries[] = new Query('name', Query::TYPE_SEARCH, [$search]);
}
if (!empty($cursor)) {
$cursorCollection = $dbForInternal->getDocument('collections', $cursor);