mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-03-05 13:30:32 -05:00
apply Scrutinizer fix
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user