]> git.mxchange.org Git - friendica.git/commitdiff
Remove test code
authorMichael <heluecht@pirati.ca>
Mon, 5 Dec 2022 03:59:47 +0000 (03:59 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 5 Dec 2022 03:59:47 +0000 (03:59 +0000)
src/Object/Image.php

index f49aa7fdd233db315a42cfda6681a56fd08e5e2d..8a47d8e88d176edc5245fa8acf2e510b450d734f 100644 (file)
@@ -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';