diff options
author | Andrew Dolgov <[email protected]> | 2021-01-15 08:32:06 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-01-15 08:32:06 +0300 |
commit | 40f38fc87fe2993dfcc2c2953f0a073096e806e6 (patch) | |
tree | d0eafcc3057abd18b7521d4bf044b2855f9e1ed5 /classes/handler/public.php | |
parent | f67f0f864bbac9a60912b00b940848e45e96f046 (diff) |
pluginhost: load plugin data automatically (also marks load_data method as private)
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-x | classes/handler/public.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 6feb7df79..7fbad5530 100755 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -45,7 +45,7 @@ class Handler_Public extends Handler { $tmppluginhost = new PluginHost(); $tmppluginhost->load(PLUGINS, PluginHost::KIND_ALL); $tmppluginhost->load($user_plugins, PluginHost::KIND_USER, $owner_uid); - $tmppluginhost->load_data(); + //$tmppluginhost->load_data(); $handler = $tmppluginhost->get_feed_handler( PluginHost::feed_to_pfeed_id($feed)); @@ -1246,7 +1246,7 @@ class Handler_Public extends Handler { $method = clean($_REQUEST["pmethod"]); $host->load($plugin_name, PluginHost::KIND_USER, 0); - $host->load_data(); + //$host->load_data(); $plugin = $host->get_plugin($plugin_name); |