summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorwn_ <[email protected]>2022-08-12 14:18:43 +0000
committerwn_ <[email protected]>2022-08-12 14:18:43 +0000
commit6e01d5d930f52f95ad0c095b995ed2aae8e093f5 (patch)
tree34d95237201d08851907fb35b240bc349496ecef /plugins
parent7567676ed8c2d72bdff626380ee038bdc2dbb39c (diff)
minor: remove a PHP >= 5.6 check in 'af_redditimgur'
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/af_redditimgur/init.php2
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 */