mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-12 15:34:31 +02:00
[ticket/17557] Add error suppression to avatars in storage_track migration
PHPBB-17557
This commit is contained in:
@@ -98,7 +98,7 @@ class storage_track extends container_aware_migration
|
|||||||
$filename = $this->config['avatar_salt'] . '_' . ($avatar_group ? 'g' : '') . $filename . '.' . $ext;
|
$filename = $this->config['avatar_salt'] . '_' . ($avatar_group ? 'g' : '') . $filename . '.' . $ext;
|
||||||
$files[] = [
|
$files[] = [
|
||||||
'file_path' => $filename,
|
'file_path' => $filename,
|
||||||
'filesize' => filesize($this->phpbb_root_path . $this->config['storage\\avatar\\config\\path'] . '/' . $filename),
|
'filesize' => @filesize($this->phpbb_root_path . $this->config['storage\\avatar\\config\\path'] . '/' . $filename),
|
||||||
];
|
];
|
||||||
|
|
||||||
if (count($files) >= self::BATCH_SIZE)
|
if (count($files) >= self::BATCH_SIZE)
|
||||||
|
Reference in New Issue
Block a user