From: Evan Prodromou Date: Tue, 23 Feb 2010 21:13:24 +0000 (-0500) Subject: some logging for OStatusPlugin::onStartFindMentions() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f5ec7c27070dac4ac28ba860f4cc9a808b5f7c30;p=quix0rs-gnu-social.git some logging for OStatusPlugin::onStartFindMentions() --- diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 3a9e77c2a6..934c858ac1 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -235,9 +235,17 @@ class OStatusPlugin extends Plugin $webfinger = $wmatch[0]; + $this->log(LOG_INFO, "Checking Webfinger for address '$webfinger'"); + $oprofile = Ostatus_profile::ensureWebfinger($webfinger); - if (!empty($oprofile)) { + if (empty($oprofile)) { + + $this->log(LOG_INFO, "No Ostatus_profile found for address '$webfinger'"); + + } else { + + $this->log(LOG_INFO, "Ostatus_profile found for address '$webfinger'"); $profile = $oprofile->localProfile();