diff options
author | wn_ <[email protected]> | 2022-08-12 14:18:43 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2022-08-12 14:18:43 +0000 |
commit | 6e01d5d930f52f95ad0c095b995ed2aae8e093f5 (patch) | |
tree | 34d95237201d08851907fb35b240bc349496ecef | |
parent | 7567676ed8c2d72bdff626380ee038bdc2dbb39c (diff) |
minor: remove a PHP >= 5.6 check in 'af_redditimgur'
-rwxr-xr-x | plugins/af_redditimgur/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |