From d2a421e3cbaa782748840fc19afad4ac65f044b8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 25 Dec 2012 10:02:08 +0400 Subject: more work on user-selectable plugins; properly process system and user plugins --- include/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 6848f14b9..cd39789ab 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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 { -- cgit v1.2.3-54-g00ecf