minor: remove a PHP >= 5.6 check in 'af_redditimgur'

This commit is contained in:
wn_ 2022-08-12 14:18:43 +00:00
parent 7567676ed8
commit 6e01d5d930
1 changed files with 1 additions and 1 deletions

View File

@ -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 */