summaryrefslogtreecommitdiff
path: root/plugins/LinkbackPlugin.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-12 12:12:31 -0800
committerBrion Vibber <brion@pobox.com>2010-01-12 12:12:31 -0800
commit9c34d5c1073133992ef56ed02be3f53c5cefa379 (patch)
tree85a38ca43f2c7cb8e1961e2a67e45664cce58109 /plugins/LinkbackPlugin.php
parentcbc3c7b141b8cfd8baa35a580e9fc9ae4f50343c (diff)
Actually skip the pingback if XML-RPC extension is missing, instead of considering it then trying anyway and dying of a fatal error. :)
Diffstat (limited to 'plugins/LinkbackPlugin.php')
-rw-r--r--plugins/LinkbackPlugin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/LinkbackPlugin.php b/plugins/LinkbackPlugin.php
index 15e57ab0e..8e44beae1 100644
--- a/plugins/LinkbackPlugin.php
+++ b/plugins/LinkbackPlugin.php
@@ -126,6 +126,7 @@ class LinkbackPlugin extends Plugin
if (!extension_loaded('xmlrpc')) {
if (!dl('xmlrpc.so')) {
common_log(LOG_ERR, "Can't pingback; xmlrpc extension not available.");
+ return;
}
}