summaryrefslogtreecommitdiff
path: root/plugins/OStatus/OStatusPlugin.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-02-24 20:38:38 +0000
committerBrion Vibber <brion@pobox.com>2010-02-24 20:38:38 +0000
commit0c7844734edbed42c2ea3046dc1418cba828e583 (patch)
treeea4a96dfd23753311ad8ddfba3c983f41a79f6dd /plugins/OStatus/OStatusPlugin.php
parentc36bdc1ba535dc3e2dc9098dbe40735b1955d96d (diff)
parent269d567d9440e3c943f67aad428efce9d112385c (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
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 90abe034d..5feb53b26 100644
--- a/plugins/OStatus/OStatusPlugin.php
+++ b/plugins/OStatus/OStatusPlugin.php
@@ -221,9 +221,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();