]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/EmailSummary/lib/useremailsummaryhandler.php
UserEmailSummaryHandler: correct instantiation of InboxNoticeStream
[quix0rs-gnu-social.git] / plugins / EmailSummary / lib / useremailsummaryhandler.php
index fe814a3fb5ba0610b5547a980f4ae63381c1b263..8dbcefc11e6ef6aeaf668cd5aec03efecb90ac79 100644 (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);