From: Brion Vibber Date: Tue, 12 Jan 2010 20:12:31 +0000 (-0800) Subject: Actually skip the pingback if XML-RPC extension is missing, instead of considering... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9c34d5c1073133992ef56ed02be3f53c5cefa379;p=quix0rs-gnu-social.git Actually skip the pingback if XML-RPC extension is missing, instead of considering it then trying anyway and dying of a fatal error. :) --- diff --git a/plugins/LinkbackPlugin.php b/plugins/LinkbackPlugin.php index 15e57ab0e8..8e44beae18 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; } }