mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-11 23:14:34 +02:00
Merge pull request #6870 from Derky/ticket/17557
[ticket/17557] Add error suppression to avatars in storage_track migration
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;
|
||||
$files[] = [
|
||||
'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)
|
||||
|
Reference in New Issue
Block a user