fix undefined constants

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2017-09-18 14:15:47 +02:00
parent 3eaf6626f8
commit 91f44f5309
No known key found for this signature in database
GPG Key ID: CBCA68FBAEBF98C9
1 changed files with 1 additions and 1 deletions

View File

@ -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);