From: Joshua Judson Rosen Date: Mon, 24 Nov 2014 03:58:05 +0000 (-0500) Subject: UserEmailSummaryHandler: correct instantiation of InboxNoticeStream X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2f506dde28f008c6efd25664b69aecd9a170f608;p=quix0rs-gnu-social.git UserEmailSummaryHandler: correct instantiation of InboxNoticeStream It only takes a single Profile argument.... --- diff --git a/plugins/EmailSummary/lib/useremailsummaryhandler.php b/plugins/EmailSummary/lib/useremailsummaryhandler.php index fe814a3fb5..8dbcefc11e 100644 --- a/plugins/EmailSummary/lib/useremailsummaryhandler.php +++ b/plugins/EmailSummary/lib/useremailsummaryhandler.php @@ -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);