From 50cd304847d8eccccefb8eb835131be3a0f5a428 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 16 Aug 2004 18:29:11 +0000 Subject: - Patch #7458: bugfix: reverted the conditional inclusion of xmlrpc.inc. --- modules/drupal/drupal.module | 5 ----- 1 file changed, 5 deletions(-) (limited to 'modules/drupal') diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module index 04530831b..05bdcf9df 100644 --- a/modules/drupal/drupal.module +++ b/modules/drupal/drupal.module @@ -127,8 +127,6 @@ function drupal_xmlrpc() { * Sends a ping to the Drupal directory server. */ function drupal_notify($server) { - include_once 'includes/xmlrpc.inc'; - global $base_url; $url = parse_url($server); @@ -164,7 +162,6 @@ function drupal_info($field = 0) { * Implementation of hook_auth(). */ function drupal_auth($username, $password, $server) { - include_once 'includes/xmlrpc.inc'; $message = new xmlrpcmsg('drupal.login', array(new xmlrpcval($username, 'string'), new xmlrpcval($password, 'string'))); @@ -204,8 +201,6 @@ function drupal_page_help() { * Remote clients are usually other Drupal instances. */ function drupal_login($arguments) { - include_once 'includes/xmlrpc.inc'; - $argument = $arguments->getparam(0); $username = $argument->scalarval(); $argument = $arguments->getparam(1); -- cgit v1.2.3