forked from GNUsocial/gnu-social
Bad variable reference in ProfileNoticeStream
This commit is contained in:
parent
1a81188355
commit
8f8a7dbde0
@ -62,7 +62,7 @@ class ProfileNoticeStream extends ScopingNoticeStream
|
|||||||
$userProfile);
|
$userProfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getNoticeIds($offset, $limit, $sinceId = null, $maxId = null)
|
function getNoticeIds($offset, $limit, $since_id=null, $max_id=null)
|
||||||
{
|
{
|
||||||
if ($this->impossibleStream()) {
|
if ($this->impossibleStream()) {
|
||||||
return array();
|
return array();
|
||||||
@ -71,12 +71,12 @@ class ProfileNoticeStream extends ScopingNoticeStream
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getNotices($offset, $limit, $sinceId = null, $maxId = null)
|
function getNotices($offset, $limit, $since_id=null, $max_id=null)
|
||||||
{
|
{
|
||||||
if ($this->impossibleStream()) {
|
if ($this->impossibleStream()) {
|
||||||
return new ArrayWrapper(array());
|
return new ArrayWrapper(array());
|
||||||
} else {
|
} else {
|
||||||
return parent::getNotices($offset, $limit, $sinceId, $maxId);
|
return parent::getNotices($offset, $limit, $since_id, $max_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user