1
0
Fork 0

Removed unneeded comment

This commit is contained in:
Michael 2017-04-02 20:43:54 +00:00
parent 884c75a350
commit c574c317ef

View file

@ -573,7 +573,7 @@ class ostatus {
if (!isset($item["object-type"])) {
$item["object-type"] = $xpath->query('activity:object-type/text()', $activityobjects)->item(0)->nodeValue;
}
// Quickfix to read attachments
$enclosures = $xpath->query("atom:link[@rel='alternate']", $activityobjects);
if ($enclosures) {
foreach ($enclosures AS $link) {