mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 07:39:23 -04:00
Merge pull request #17501 from nextcloud/bugfix/fad-48/list-share-downloads-under-sharing
List share download activity under sharing
This commit is contained in:
commit
7536caaff8
1 changed files with 6 additions and 2 deletions
|
|
@ -83,7 +83,8 @@ class Filter implements IFilter {
|
|||
public function filterTypes(array $types) {
|
||||
return array_intersect([
|
||||
self::TYPE_SHARED,
|
||||
self::TYPE_REMOTE_SHARE
|
||||
self::TYPE_REMOTE_SHARE,
|
||||
'file_downloaded',
|
||||
], $types);
|
||||
}
|
||||
|
||||
|
|
@ -92,6 +93,9 @@ class Filter implements IFilter {
|
|||
* @since 11.0.0
|
||||
*/
|
||||
public function allowedApps() {
|
||||
return ['files_sharing'];
|
||||
return [
|
||||
'files_sharing',
|
||||
'files_downloadactivity',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue