diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/feeds.php | 2 | ||||
-rw-r--r-- | classes/handler/public.php | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 9aa75bbe8..3b765d6bd 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -510,7 +510,7 @@ class Feeds extends Handler_Protected { $tags = false; $line["content"] = sanitize($line["content"], - sql_bool_to_bool($line['hide_images']), false, $entry_site_url, $highlight_words); + sql_bool_to_bool($line['hide_images']), false, $entry_site_url, $highlight_words, $line["id"]); foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_RENDER_ARTICLE_CDM) as $p) { $line = $p->hook_render_article_cdm($line); diff --git a/classes/handler/public.php b/classes/handler/public.php index de0ab66f8..9c0359507 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -390,6 +390,11 @@ class Handler_Public extends Handler { } } + function updateTask() { + + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, "hook_update_task", $op); + } + function globalUpdateFeeds() { RPC::updaterandomfeed_real($this->dbh); |