aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-03-07 15:26:11 +0100
committerRobin Appelman <robin@icewind.nl>2024-03-07 19:19:07 +0100
commiteb5832b8fa654f6677f8a81c43300e03e05ca429 (patch)
tree7231da5a3cfae56aa400f037c6f38ab22490c081 /lib/public
parentbe3449c42d819205fb627c5e74a1d8dfde0c0520 (diff)
downloadnextcloud-server-eb5832b8fa654f6677f8a81c43300e03e05ca429.tar.gz
nextcloud-server-eb5832b8fa654f6677f8a81c43300e03e05ca429.zip
refactor: depricate getNumberOfUnreadCommentsForFolder and redo it's implementation based on getNumberOfUnreadCommentsForObjects
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Comments/ICommentsManager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/Comments/ICommentsManager.php b/lib/public/Comments/ICommentsManager.php
index 152c8deeaf3..3d47be3d951 100644
--- a/lib/public/Comments/ICommentsManager.php
+++ b/lib/public/Comments/ICommentsManager.php
@@ -271,6 +271,7 @@ interface ICommentsManager {
* @param IUser $user
* @return array [$fileId => $unreadCount]
* @since 12.0.0
+ * @deprecated 29.0.0 use getNumberOfUnreadCommentsForObjects instead
*/
public function getNumberOfUnreadCommentsForFolder($folderId, IUser $user);