fix undefined constants
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
3eaf6626f8
commit
91f44f5309
|
@ -450,7 +450,7 @@ class AmazonS3 extends \OC\Files\Storage\Common {
|
||||||
$mtime = time();
|
$mtime = time();
|
||||||
}
|
}
|
||||||
$metadata = [
|
$metadata = [
|
||||||
'lastmodified' => gmdate(\Aws\Common\Enum\DateFormat::RFC1123, $mtime)
|
'lastmodified' => gmdate(\DateTime::RFC1123, $mtime)
|
||||||
];
|
];
|
||||||
|
|
||||||
$fileType = $this->filetype($path);
|
$fileType = $this->filetype($path);
|
||||||
|
|
Loading…
Reference in New Issue