summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/init.php b/init.php
index 9b8fb90..6c5301c 100644
--- a/init.php
+++ b/init.php
@@ -243,17 +243,17 @@ class Af_Lemmy extends Plugin {
}
}
- Debug::log("trying to extract full content using readability...", Debug::LOG_VERBOSE);
-
- $this->host->run_hooks_callback(PluginHost::HOOK_GET_FULL_TEXT,
- function ($result) use (&$article, &$found) {
- if ($result && mb_strlen($result) >= 128) {
- $article["content"] .= "<hr/>" . $result;
- $found = true;
- return true;
- }
- },
- $entry_href);
+ // Debug::log("trying to extract full content using readability...", Debug::LOG_VERBOSE);
+
+ // $this->host->run_hooks_callback(PluginHost::HOOK_GET_FULL_TEXT,
+ // function ($result) use (&$article, &$found) {
+ // if ($result && mb_strlen($result) >= 128) {
+ // $article["content"] .= "<hr/>" . $result;
+ // $found = true;
+ // return true;
+ // }
+ // },
+ // $entry_href);
} else {
Debug::log("BODY: skipping because of content type: $content_type", Debug::LOG_VERBOSE);