summaryrefslogtreecommitdiff
path: root/xmlrpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'xmlrpc.php')
-rw-r--r--xmlrpc.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/xmlrpc.php b/xmlrpc.php
index e1eda8807..41538a98b 100644
--- a/xmlrpc.php
+++ b/xmlrpc.php
@@ -4,13 +4,7 @@
include_once "includes/xmlrpcs.inc";
include_once "includes/common.inc";
-$functions = array();
-
-foreach (module_list() as $name) {
- if (module_hook($name, "xmlrpc")) {
- $functions = array_merge($functions, module_invoke($name, "xmlrpc"));
- }
-}
+$functions = module_invoke_all("xmlrpc");
$server = new xmlrpc_server($functions);