UserEmailSummaryHandler: correct instantiation of InboxNoticeStream
It only takes a single Profile argument....
This commit is contained in:
@@ -103,7 +103,7 @@ class UserEmailSummaryHandler extends QueueHandler
|
||||
}
|
||||
|
||||
// An InboxNoticeStream for a certain user, scoped to its own view
|
||||
$stream = new InboxNoticeStream($profile, $profile);
|
||||
$stream = new InboxNoticeStream($profile);
|
||||
|
||||
$notice = $stream->getNotices(0, self::MAX_NOTICES, $since_id);
|
||||
|
||||
|
Reference in New Issue
Block a user