fix undefined constants

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/4410/head
Robin Appelman 9 years ago
parent 3eaf6626f8
commit 91f44f5309
No known key found for this signature in database
GPG Key ID: CBCA68FBAEBF98C9
  1. 2
      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);

Loading…
Cancel
Save