1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 09:21:29 +00:00

queryFeedHeadlines: remove obsolete content_preview

This commit is contained in:
Andrew Dolgov
2013-11-29 13:54:30 +04:00
parent 25237aea43
commit bf5bcb8e27
5 changed files with 5 additions and 5 deletions

View File

@@ -642,7 +642,7 @@ class API extends Handler {
$headlines = array();
while ($line = db_fetch_assoc($result)) {
$line["content_preview"] = truncate_string(strip_tags($line["content_preview"]), 100);
$line["content_preview"] = truncate_string(strip_tags($line["content"]), 100);
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_QUERY_HEADLINES) as $p) {
$line = $p->hook_query_headlines($line, 100, true);
}