mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:05:55 +00:00
remove old-style readability loading
This commit is contained in:
@@ -557,8 +557,6 @@ class Af_RedditImgur extends Plugin {
|
||||
if (!defined('NO_CURL') && function_exists("curl_init") && $this->host->get($this, "enable_readability") &&
|
||||
mb_strlen(strip_tags($article["content"])) <= 150) {
|
||||
|
||||
if (!class_exists("Readability")) require_once(dirname(dirname(__DIR__)). "/lib/readability/Readability.php");
|
||||
|
||||
// do not try to embed posts linking back to other reddit posts
|
||||
if ($url && strpos($url, "reddit.com") === FALSE) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user