224a7d2aac
As MDL-73016 set the minimum supported PHP version for Moodle 4.4 and up to PHP 8.1 we can now safely remove this check. It was introduced with MDL-75945 because a new signature was introduced to ImagePolygon functions from PHP 8.1 with the previous signature deprecated in 8.1. Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>