summaryrefslogtreecommitdiff
path: root/xmlrpc.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-10-02 01:22:41 +0000
committerDries Buytaert <dries@buytaert.net>2010-10-02 01:22:41 +0000
commit579310a4baed6d11b9929529b5360a9c59f46bda (patch)
treead12538ff2828b548674dd372e3f4c196f9133bf /xmlrpc.php
parent96672deebfe1094bc118d0f82e354cba2ccd5c43 (diff)
downloadbrdo-579310a4baed6d11b9929529b5360a9c59f46bda.tar.gz
brdo-579310a4baed6d11b9929529b5360a9c59f46bda.tar.bz2
- 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 5787f5b19..4b6b1153f 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'));