1
0
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:
Derky
2025-09-28 13:44:50 +02:00
parent 736ec35734
commit 6c55b75616

View File

@@ -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)