diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-12 12:12:31 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-01-12 12:12:31 -0800 |
commit | 9c34d5c1073133992ef56ed02be3f53c5cefa379 (patch) | |
tree | 85a38ca43f2c7cb8e1961e2a67e45664cce58109 | |
parent | cbc3c7b141b8cfd8baa35a580e9fc9ae4f50343c (diff) |
Actually skip the pingback if XML-RPC extension is missing, instead of considering it then trying anyway and dying of a fatal error. :)
-rw-r--r-- | plugins/LinkbackPlugin.php | 1 |
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; } } |