diff options
author | Joas Schilling <coding@schilljs.com> | 2022-07-01 15:53:37 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-07-01 15:59:29 +0200 |
commit | 198224bf7a18903fb9e55d621604befa788f542c (patch) | |
tree | 36ffbeb8900ec886eebdbdf8a188b297828591c4 /lib/public/Comments | |
parent | 6222b702db03d7bf08bd80c760fdaca3c0167db5 (diff) | |
download | nextcloud-server-198224bf7a18903fb9e55d621604befa788f542c.tar.gz nextcloud-server-198224bf7a18903fb9e55d621604befa788f542c.zip |
Allow to expire comments of multiple objects with one call
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Comments')
-rw-r--r-- | lib/public/Comments/ICommentsManager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Comments/ICommentsManager.php b/lib/public/Comments/ICommentsManager.php index 814ca3e8f9c..da9e4d76a38 100644 --- a/lib/public/Comments/ICommentsManager.php +++ b/lib/public/Comments/ICommentsManager.php @@ -488,9 +488,9 @@ interface ICommentsManager { * Only will delete the message related with the object. * * @param string $objectType the object type (e.g. 'files') - * @param string $objectId e.g. the file id + * @param string $objectId e.g. the file id, leave empty to expire on all objects of this type * @return boolean true if at least one row was deleted * @since 25.0.0 */ - public function deleteMessageExpiredAtObject(string $objectType, string $objectId): bool; + public function deleteCommentsExpiredAtObject(string $objectType, string $objectId = ''): bool; } |