]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
UserEmailSummaryHandler: correct instantiation of InboxNoticeStream
authorJoshua Judson Rosen <rozzin@geekspace.com>
Mon, 24 Nov 2014 03:58:05 +0000 (22:58 -0500)
committerJoshua Judson Rosen <rozzin@geekspace.com>
Mon, 24 Nov 2014 04:28:27 +0000 (23:28 -0500)
It only takes a single Profile argument....

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