summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmlrpc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmlrpc.php b/xmlrpc.php
index 4b6b1153f..fee29fd5e 100644
--- a/xmlrpc.php
+++ b/xmlrpc.php
@@ -16,4 +16,6 @@ drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
include_once DRUPAL_ROOT . '/includes/xmlrpc.inc';
include_once DRUPAL_ROOT . '/includes/xmlrpcs.inc';
-xmlrpc_server(module_invoke_all('xmlrpc'));
+$services = module_invoke_all('xmlrpc');
+drupal_alter('xmlrpc_alter', $services);
+xmlrpc_server($services);