1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-07 10:59:17 +00:00

pluginhost: load plugin data automatically (also marks load_data method as private)

This commit is contained in:
Andrew Dolgov
2021-01-15 08:32:06 +03:00
parent f67f0f864b
commit 40f38fc87f
7 changed files with 18 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ class Article extends Handler_Protected {
if (!$content) {
$pluginhost = new PluginHost();
$pluginhost->load_all(PluginHost::KIND_ALL, $owner_uid);
$pluginhost->load_data();
//$pluginhost->load_data();
foreach ($pluginhost->get_hooks(PluginHost::HOOK_GET_FULL_TEXT) as $p) {
$extracted_content = $p->hook_get_full_text($url);