X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ffoaf.php;h=bf9cf1b957bdb5b8abeb6940437396b373547e19;hb=722ff4d9c0cc47b5dda181136e03166eae712e87;hp=260388ba447b72819ea0f908e4da35e9ade80391;hpb=ad453785f08ec7d37067a5b9b25ac71ddcb83c6e;p=quix0rs-gnu-social.git diff --git a/actions/foaf.php b/actions/foaf.php index 260388ba44..bf9cf1b957 100644 --- a/actions/foaf.php +++ b/actions/foaf.php @@ -90,7 +90,7 @@ class FoafAction extends ManagedAction // Would be nice to tell if they were a Person or not (e.g. a #person usertag?) $this->elementStart('Agent', array('rdf:about' => $this->user->getUri())); - if ($this->user->email) { + if (common_config('foaf', 'mbox_sha1sum') && $this->user->email) { $this->element('mbox_sha1sum', null, sha1('mailto:' . $this->user->email)); } if ($this->profile->fullname) {