summaryrefslogtreecommitdiffstats
path: root/xmlrpc.php
diff options
context:
space:
mode:
authorDries Buytaert2010-10-02 01:22:41 (GMT)
committerDries Buytaert2010-10-02 01:22:41 (GMT)
commit579310a4baed6d11b9929529b5360a9c59f46bda (patch)
treead12538ff2828b548674dd372e3f4c196f9133bf /xmlrpc.php
parent96672deebfe1094bc118d0f82e354cba2ccd5c43 (diff)
- Patch #656266 by fgm, sun: hook_xmlrpc_alter() cannot alter built-in methods.
Diffstat (limited to 'xmlrpc.php')
-rw-r--r--xmlrpc.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmlrpc.php b/xmlrpc.php
index 5787f5b..4b6b115 100644
--- a/xmlrpc.php
+++ b/xmlrpc.php
@@ -16,6 +16,4 @@ drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
include_once DRUPAL_ROOT . '/includes/xmlrpc.inc';
include_once DRUPAL_ROOT . '/includes/xmlrpcs.inc';
-$services = module_invoke_all('xmlrpc');
-drupal_alter('xmlrpc', $services);
-xmlrpc_server($services);
+xmlrpc_server(module_invoke_all('xmlrpc'));