From 82a3a8be0640aa8d618856acfc5e80003fc30523 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 18 Sep 2017 14:15:47 +0200 Subject: [PATCH] fix undefined constants Signed-off-by: Robin Appelman --- apps/files_external/lib/Lib/Storage/AmazonS3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_external/lib/Lib/Storage/AmazonS3.php b/apps/files_external/lib/Lib/Storage/AmazonS3.php index 8a272b2ffc4..d3157bccf66 100644 --- a/apps/files_external/lib/Lib/Storage/AmazonS3.php +++ b/apps/files_external/lib/Lib/Storage/AmazonS3.php @@ -450,7 +450,7 @@ class AmazonS3 extends \OC\Files\Storage\Common { $mtime = time(); } $metadata = [ - 'lastmodified' => gmdate(\Aws\Common\Enum\DateFormat::RFC1123, $mtime) + 'lastmodified' => gmdate(\DateTime::RFC1123, $mtime) ]; $fileType = $this->filetype($path); -- 2.39.5