Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-07-30 10:41:51 +0300
committerJoas Schilling <coding@schilljs.com>2018-07-30 10:41:51 +0300
commit66945f95749adcb4670a82156edc376dc4aa5b93 (patch)
tree3ebd440527c0984030c3b4f1c074673b989b1c43 /lib/public/Comments
parent566800b29c3376ede04439a92545059146f99505 (diff)
Allow to filter the unread count by verb
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Comments')
-rw-r--r--lib/public/Comments/ICommentsManager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/Comments/ICommentsManager.php b/lib/public/Comments/ICommentsManager.php
index ca98214cd72..744263643ec 100644
--- a/lib/public/Comments/ICommentsManager.php
+++ b/lib/public/Comments/ICommentsManager.php
@@ -157,10 +157,11 @@ interface ICommentsManager {
* @param $objectId string the id of the object
* @param \DateTime|null $notOlderThan optional, timestamp of the oldest comments
* that may be returned
+ * @param string $verb Limit the verb of the comment - Added in 14.0.0
* @return Int
* @since 9.0.0
*/
- public function getNumberOfCommentsForObject($objectType, $objectId, \DateTime $notOlderThan = null);
+ public function getNumberOfCommentsForObject($objectType, $objectId, \DateTime $notOlderThan = null, $verb = '');
/**
* Get the number of unread comments for all files in a folder