summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-25 10:02:08 +0400
committerAndrew Dolgov <[email protected]>2012-12-25 10:02:08 +0400
commitd2a421e3cbaa782748840fc19afad4ac65f044b8 (patch)
treefed3583a4f855c5c0c7c7a9d6c3f8effc94932d6 /include/functions.php
parentde612e7a3850d3053c7038e94098c0681d46983b (diff)
more work on user-selectable plugins; properly process system and user plugins
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php4
1 files changed, 2 insertions, 2 deletions
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 {