]> git.mjollnir.org Git - s9y.git/commitdiff
don't include multiple times PEAR XMLRPC
authorgarvinhicking <garvinhicking>
Mon, 13 Mar 2006 10:25:14 +0000 (10:25 +0000)
committergarvinhicking <garvinhicking>
Mon, 13 Mar 2006 10:25:14 +0000 (10:25 +0000)
plugins/serendipity_event_weblogping/serendipity_event_weblogping.php

index 7acdca27790a343195ef0d8b628ce46fbd8d5d9c..b5958b64672405ad70830ce05c9011e681b67533 100644 (file)
@@ -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) {