From b2b2534dcc063f39a5a5bde650ee73ec24e7e360 Mon Sep 17 00:00:00 2001 From: shimon Date: Thu, 7 Jul 2022 18:06:05 +0300 Subject: [PATCH] logger moved to App::shutdown --- app/controllers/api/avatars.php | 2 -- app/controllers/api/storage.php | 1 - 2 files changed, 3 deletions(-) diff --git a/app/controllers/api/avatars.php b/app/controllers/api/avatars.php index 0ba0af37c7..d343cb0e9e 100644 --- a/app/controllers/api/avatars.php +++ b/app/controllers/api/avatars.php @@ -10,9 +10,7 @@ use Utopia\App; use Utopia\Cache\Adapter\Filesystem; use Utopia\Cache\Cache; use Utopia\Config\Config; -use Utopia\Database\Database; use Utopia\Database\Document; -use Utopia\Database\Validator\Authorization; use Utopia\Image\Image; use Utopia\Validator\Boolean; use Utopia\Validator\HexColor; diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index b9acfc8506..636e521cc1 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -610,7 +610,6 @@ App::post('/v1/storage/buckets/:bucketId/files') '$id' => $fileId, '$read' => $read, '$write' => $write, - 'dateCreated' => \time(), 'bucketId' => $bucket->getId(), 'name' => $fileName, 'path' => $path,