mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-01-22 18:28:26 +00:00
apply Scrutinizer fix
This commit is contained in:
parent
348d36d6ee
commit
65a90360b6
1 changed files with 1 additions and 1 deletions
|
|
@ -432,7 +432,7 @@ class S3Storage extends AbstractData
|
|||
'Bucket' => $this->_bucket,
|
||||
'Key' => $object['Key'],
|
||||
));
|
||||
$expire_at = $metadata['expire_date'] ?? '';
|
||||
$expire_at = $head->get('Metadata')['expire_date'] ?? '';
|
||||
if (is_numeric($expire_at) && intval($expire_at) < $now) {
|
||||
array_push($expired, $object['Key']);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue