Bad variable reference in ProfileNoticeStream

This commit is contained in:
Mikael Nordfeldth 2014-05-12 11:07:00 +02:00
parent 1a81188355
commit 8f8a7dbde0
1 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ class ProfileNoticeStream extends ScopingNoticeStream
$userProfile);
}
function getNoticeIds($offset, $limit, $sinceId = null, $maxId = null)
function getNoticeIds($offset, $limit, $since_id=null, $max_id=null)
{
if ($this->impossibleStream()) {
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()) {
return new ArrayWrapper(array());
} else {
return parent::getNotices($offset, $limit, $sinceId, $maxId);
return parent::getNotices($offset, $limit, $since_id, $max_id);
}
}