Commit 64dbd935 authored by mmn's avatar mmn

Some PHP strict warning fixes

parent 1c042028
......@@ -68,7 +68,7 @@ class User_group extends Managed_DataObject
);
}
function defaultLogo($size)
public static function defaultLogo($size)
{
static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile',
AVATAR_STREAM_SIZE => 'stream',
......
......@@ -80,7 +80,8 @@ class ThreadedNoticeList extends NoticeList
$total = count($notices);
$notices = array_slice($notices, 0, NOTICES_PER_PAGE);
self::prefill(self::_allNotices($notices));
$allnotices = self::_allNotices($notices);
self::prefill($allnotices);
$conversations = array();
......
......@@ -318,7 +318,7 @@ class XmppPlugin extends ImPlugin
$this->queuedConnection()->message($screenname, $body, 'chat');
}
function sendNotice($screenname, $notice)
function sendNotice($screenname, Notice $notice)
{
$msg = $this->formatNotice($notice);
$entry = $this->format_entry($notice);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment