1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-18 02:31:29 +00:00

more work on user-selectable plugins; properly process system and user plugins

This commit is contained in:
Andrew Dolgov
2012-12-25 10:02:08 +04:00
parent de612e7a38
commit d2a421e3cb
23 changed files with 92 additions and 60 deletions

View File

@@ -716,7 +716,7 @@
$plugins = get_pref($link, "_ENABLED_PLUGINS", $owner_uid);
global $pluginhost;
$pluginhost->load($plugins);
$pluginhost->load($plugins, $pluginhost::KIND_USER);
}
}
@@ -3353,7 +3353,7 @@
global $pluginhost;
$pluginhost = new PluginHost($link);
$pluginhost->load(PLUGINS);
$pluginhost->load(PLUGINS, $pluginhost::KIND_ALL);
return true;
} else {