From: Michael Date: Mon, 5 Dec 2022 03:59:47 +0000 (+0000) Subject: Remove test code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2be0ad76971124631c0b5b571e3073eaeed0ffa5;p=friendica.git Remove test code --- diff --git a/src/Object/Image.php b/src/Object/Image.php index f49aa7fdd2..8a47d8e88d 100644 --- a/src/Object/Image.php +++ b/src/Object/Image.php @@ -57,7 +57,7 @@ class Image */ public function __construct(string $data, string $type = null) { - $this->imagick = class_exists('Imagick') && !class_exists('GDImage'); + $this->imagick = class_exists('Imagick'); $this->types = Images::supportedTypes(); if (!array_key_exists($type, $this->types)) { $type = 'image/jpeg';