'link' to 'links' in feed document
This commit is contained in:
parent
d55a831d97
commit
1c87e32cd1
@ -127,7 +127,7 @@ class ActivityStreamJSONDocument
|
|||||||
function addLink($url = null, $rel = null, $mediaType = null)
|
function addLink($url = null, $rel = null, $mediaType = null)
|
||||||
{
|
{
|
||||||
$link = new ActivityStreamsLink($url, $rel, $mediaType);
|
$link = new ActivityStreamsLink($url, $rel, $mediaType);
|
||||||
$this->doc['link'][] = $link->asArray();
|
$this->doc['links'][] = $link->asArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user