From 7540dafa9bdb7de684427b97aaa729b897b83234 Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Fri, 15 Oct 2021 10:40:25 +0100 Subject: [PATCH] Update health.php --- app/controllers/api/health.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index bd7721d463..9a0edd6bc2 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -5,7 +5,6 @@ use Utopia\Exception; use Utopia\Storage\Device\Local; use Utopia\Storage\Storage; use Appwrite\ClamAV\Network; -use Appwrite\Database\Database; use Appwrite\Event\Event; App::get('/v1/health') @@ -50,9 +49,7 @@ App::get('/v1/health/db') $db = $utopia->getResource('db'); /* @var $db PDO */ // Run a small test to check the connection - $statement = $db->prepare(" - SELECT 1;" - ); + $statement = $db->prepare("SELECT 1;"); $statement->closeCursor();