From 6e01d5d930f52f95ad0c095b995ed2aae8e093f5 Mon Sep 17 00:00:00 2001 From: wn_ Date: Fri, 12 Aug 2022 14:18:43 +0000 Subject: [PATCH] minor: remove a PHP >= 5.6 check in 'af_redditimgur' --- plugins/af_redditimgur/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index 8a0d7d99e..65a753056 100755 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -903,7 +903,7 @@ class Af_RedditImgur extends Plugin { // do not try to embed posts linking back to other reddit posts // readability.php requires PHP 5.6 - if ($url && strpos($url, "reddit.com") === false && version_compare(PHP_VERSION, '5.6.0', '>=')) { + if ($url && strpos($url, "reddit.com") === false) { /* link may lead to a huge video file or whatever, we need to check content type before trying to parse it which p much requires curl */