From e1c7e4908b60a93daf8d6f9e8046d92ef640968b Mon Sep 17 00:00:00 2001 From: kodumbeats Date: Thu, 9 Sep 2021 12:52:56 -0400 Subject: [PATCH] Remove unneeded var --- app/controllers/api/database.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/api/database.php b/app/controllers/api/database.php index 1d2b7c9977..633e6f2325 100644 --- a/app/controllers/api/database.php +++ b/app/controllers/api/database.php @@ -1230,7 +1230,6 @@ App::get('/v1/database/collections/:collectionId/documents') throw new Exception($validator->getDescription(), 400); } - $afterDocument = null; if (!empty($after)) { $afterDocument = $dbForExternal->getDocument($collectionId, $after);