From: garvinhicking Date: Mon, 13 Mar 2006 10:25:14 +0000 (+0000) Subject: don't include multiple times PEAR XMLRPC X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b8444216b2d6c01401351dd4f7fecc9ac8e8cefe;p=s9y.git don't include multiple times PEAR XMLRPC --- diff --git a/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php b/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php index 7acdca2..b5958b6 100644 --- a/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php +++ b/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php @@ -141,7 +141,9 @@ class serendipity_event_weblogping extends serendipity_event break; case 'backend_publish': - include_once(S9Y_PEAR_PATH . "XML/RPC.php"); + if (!class_exists('XML_RPC_Base')) { + include_once(S9Y_PEAR_PATH . "XML/RPC.php"); + } // First cycle through list of services to remove superseding services which may have been checked foreach ($this->services as $index => $service) {