From 9c34d5c1073133992ef56ed02be3f53c5cefa379 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 12 Jan 2010 12:12:31 -0800 Subject: Actually skip the pingback if XML-RPC extension is missing, instead of considering it then trying anyway and dying of a fatal error. :) --- plugins/LinkbackPlugin.php | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/LinkbackPlugin.php') 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; } } -- cgit v1.2.3-54-g00ecf