summaryrefslogtreecommitdiff
path: root/classes/diskcache.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-01-15 08:32:06 +0300
committerAndrew Dolgov <[email protected]>2021-01-15 08:32:06 +0300
commit40f38fc87fe2993dfcc2c2953f0a073096e806e6 (patch)
treed0eafcc3057abd18b7521d4bf044b2855f9e1ed5 /classes/diskcache.php
parentf67f0f864bbac9a60912b00b940848e45e96f046 (diff)
pluginhost: load plugin data automatically (also marks load_data method as private)
Diffstat (limited to 'classes/diskcache.php')
-rw-r--r--classes/diskcache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/diskcache.php b/classes/diskcache.php
index c56dc6f14..daa171bf6 100644
--- a/classes/diskcache.php
+++ b/classes/diskcache.php
@@ -395,7 +395,7 @@ class DiskCache {
$tmppluginhost = new PluginHost();
$tmppluginhost->load(PLUGINS, PluginHost::KIND_SYSTEM);
- $tmppluginhost->load_data();
+ //$tmppluginhost->load_data();
foreach ($tmppluginhost->get_hooks(PluginHost::HOOK_SEND_LOCAL_FILE) as $plugin) {
if ($plugin->hook_send_local_file($filename)) return true;