summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-16 18:29:11 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-16 18:29:11 +0000
commit50cd304847d8eccccefb8eb835131be3a0f5a428 (patch)
tree9e285bbae21a79ef7158fd9ccdefeea6963df103 /modules
parentc39ac09b3243d408a56c037c8b998114faf2b0e4 (diff)
downloadbrdo-50cd304847d8eccccefb8eb835131be3a0f5a428.tar.gz
brdo-50cd304847d8eccccefb8eb835131be3a0f5a428.tar.bz2
- Patch #7458: bugfix: reverted the conditional inclusion of xmlrpc.inc.
Diffstat (limited to 'modules')
-rw-r--r--modules/drupal.module5
-rw-r--r--modules/drupal/drupal.module5
-rw-r--r--modules/ping.module1
-rw-r--r--modules/ping/ping.module1
4 files changed, 0 insertions, 12 deletions
diff --git a/modules/drupal.module b/modules/drupal.module
index 04530831b..05bdcf9df 100644
--- a/modules/drupal.module
+++ b/modules/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);
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);
diff --git a/modules/ping.module b/modules/ping.module
index 1822b95cf..96a6d576d 100644
--- a/modules/ping.module
+++ b/modules/ping.module
@@ -54,7 +54,6 @@ function _ping_notify($name, $url) {
* Notifies weblogs.com, blo.gs, and technorati.com of changes at this site.
*/
function ping_ping($name = '', $url = '') {
- include_once 'includes/xmlrpc.inc';
$feed = url('node/feed');
diff --git a/modules/ping/ping.module b/modules/ping/ping.module
index 1822b95cf..96a6d576d 100644
--- a/modules/ping/ping.module
+++ b/modules/ping/ping.module
@@ -54,7 +54,6 @@ function _ping_notify($name, $url) {
* Notifies weblogs.com, blo.gs, and technorati.com of changes at this site.
*/
function ping_ping($name = '', $url = '') {
- include_once 'includes/xmlrpc.inc';
$feed = url('node/feed');