Parameters redone
This commit is contained in:
parent
0fdab4ed10
commit
7e31cebb67
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ class OStatus
|
||||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||||
* @throws \ImagickException
|
* @throws \ImagickException
|
||||||
*/
|
*/
|
||||||
private static function fetchAuthor(DOMXPath $xpath, $context, array $importer, &$contact, $onlyfetch)
|
private static function fetchAuthor(DOMXPath $xpath, $context, array $importer, array &$contact = null, $onlyfetch)
|
||||||
{
|
{
|
||||||
$author = [];
|
$author = [];
|
||||||
$author["author-link"] = XML::getFirstNodeValue($xpath, 'atom:author/atom:uri/text()', $context);
|
$author["author-link"] = XML::getFirstNodeValue($xpath, 'atom:author/atom:uri/text()', $context);
|
||||||
|
@ -322,7 +322,7 @@ class OStatus
|
||||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||||
* @throws \ImagickException
|
* @throws \ImagickException
|
||||||
*/
|
*/
|
||||||
private static function process($xml, array $importer, &$contact, &$hub, $stored = false, $initialize = true)
|
private static function process($xml, array $importer, array &$contact = null, &$hub, $stored = false, $initialize = true)
|
||||||
{
|
{
|
||||||
if ($initialize) {
|
if ($initialize) {
|
||||||
self::$itemlist = [];
|
self::$itemlist = [];
|
||||||
|
|
Loading…
Reference in a new issue