]> git.mjollnir.org Git - s9y.git/commitdiff
rpc dependencies
authorgarvinhicking <garvinhicking>
Mon, 26 Sep 2005 09:43:50 +0000 (09:43 +0000)
committergarvinhicking <garvinhicking>
Mon, 26 Sep 2005 09:43:50 +0000 (09:43 +0000)
include/functions.inc.php
plugins/serendipity_event_weblogping/serendipity_event_weblogping.php

index 79d6d9b2be91a610ae6969319d8cca210a63e7b5..0f91508e2588c0037a7b23948d3a26d8c1f64e49 100644 (file)
@@ -6,7 +6,6 @@ $serendipity['imageList'] = array();
 include_once(S9Y_INCLUDE_PATH . "include/db/db.inc.php");
 include_once(S9Y_INCLUDE_PATH . "include/compat.inc.php");
 include_once(S9Y_INCLUDE_PATH . "include/functions_config.inc.php");
-include_once(S9Y_PEAR_PATH . "XML/RPC.php");
 include_once(S9Y_INCLUDE_PATH . "include/plugin_api.inc.php");
 include_once(S9Y_INCLUDE_PATH . "include/functions_images.inc.php");
 include_once(S9Y_INCLUDE_PATH . "include/functions_installer.inc.php");
index dcf9d9c8c4580b28f649775bc8486e4c9dc94842..c73c857a052072086a72f907b64ecdf0eac5f952 100644 (file)
@@ -159,6 +159,8 @@ class serendipity_event_weblogping extends serendipity_event
                     break;
 
                 case 'backend_publish':
+                    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) {
                         if (!empty($service['supersedes']) && isset($serendipity['POST']['announce_entries_' . $service['name']])) {