From 2cc35cc65d251ac52e1e09fe52381ccbf64eb89f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 21 Oct 2020 09:08:48 +0200 Subject: Include an option to also include the lastKnownCommentId object Signed-off-by: Joas Schilling --- lib/public/Comments/ICommentsManager.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/public/Comments') diff --git a/lib/public/Comments/ICommentsManager.php b/lib/public/Comments/ICommentsManager.php index 95f0d2ce300..718391f7145 100644 --- a/lib/public/Comments/ICommentsManager.php +++ b/lib/public/Comments/ICommentsManager.php @@ -128,6 +128,7 @@ interface ICommentsManager { * @param string $sortDirection direction of the comments (`asc` or `desc`) * @param int $limit optional, number of maximum comments to be returned. if * set to 0, all comments are returned. + * @param bool $includeLastKnown * @return IComment[] * @since 14.0.0 */ @@ -136,7 +137,8 @@ interface ICommentsManager { string $objectId, int $lastKnownCommentId, string $sortDirection = 'asc', - int $limit = 30 + int $limit = 30, + bool $includeLastKnown = false ): array; /** -- cgit v1.2.3