Optimized Userfield save event handling (fixes #2458)

This commit is contained in:
Bernd Bestel
2025-01-13 21:00:06 +01:00
parent a734d1c3ae
commit c8ccc0b529
26 changed files with 184 additions and 105 deletions

View File

@@ -80,7 +80,6 @@ class FilesService extends BaseService
if (file_exists($filePath))
{
$fileNameWithoutExtension = pathinfo($filePath, PATHINFO_FILENAME);
$fileExtension = pathinfo($filePath, PATHINFO_EXTENSION);
// Then the file is an image
if (getimagesize($filePath) !== false)