summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-04-29 22:02:02 +0000
committerDries Buytaert <dries@buytaert.net>2003-04-29 22:02:02 +0000
commitc2f3cb2b632fa01ed2f3082f1bde23c64bf254e9 (patch)
tree0178ecf8bd1c1fd4567c79333311a592a0c768e8 /includes/common.inc
parent2d6408dff3931d7daee818eb07f74875e074b522 (diff)
downloadbrdo-c2f3cb2b632fa01ed2f3082f1bde23c64bf254e9.tar.gz
brdo-c2f3cb2b632fa01ed2f3082f1bde23c64bf254e9.tar.bz2
- 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.
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc5
1 files changed, 1 insertions, 4 deletions
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());