UserEmailSummaryHandler: correct instantiation of InboxNoticeStream

It only takes a single Profile argument....
This commit is contained in:
Joshua Judson Rosen 2014-11-23 22:58:05 -05:00
parent 9fd2541b52
commit 2f506dde28

View File

@ -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);