fix undefined constants
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
869e06fe69
commit
82a3a8be06
|
@ -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…
Reference in New Issue