summaryrefslogtreecommitdiff
path: root/plugins/OStatus/OStatusPlugin.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-23 16:13:24 -0500
committerEvan Prodromou <evan@status.net>2010-02-23 16:13:24 -0500
commitf5ec7c27070dac4ac28ba860f4cc9a808b5f7c30 (patch)
tree75378386b90e274fae978664a1dcd86b548958f7 /plugins/OStatus/OStatusPlugin.php
parentb09304a6c4553044983176fb2740206777868378 (diff)
some logging for OStatusPlugin::onStartFindMentions()
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r--plugins/OStatus/OStatusPlugin.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php
index 3a9e77c2a..934c858ac 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();