From c2f3cb2b632fa01ed2f3082f1bde23c64bf254e9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 29 Apr 2003 22:02:02 +0000 Subject: - Renamed 'xmlrpc_decode' to '_xmlrpc_decode' to avoid redeclaration when PHP's XML-RPC library is enabled. - Renamed 'xmlrpc_encode' to '_xmlrpc_encode' to avoid redeclaration when PHP's XML-RPC library is enabled. - Removed 'if (funcion_exist("xmlrpc_encode"))' check from common.inc. --- includes/common.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 4f9833b31..0bed53fde 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -962,10 +962,7 @@ include_once "includes/module.inc"; include_once "includes/theme.inc"; include_once "includes/pager.inc"; include_once "includes/menu.inc"; - -if (!function_exists("xmlrpc_decode")) { - include_once "includes/xmlrpc.inc"; -} +include_once "includes/xmlrpc.inc"; // initialize configuration variables, using values from conf.php if available: $conf = variable_init(isset($conf) ? $conf : array()); -- cgit v1.2.3