Skip to content

Commit

Permalink
fix: Adapt to constructor change of TrashItem in files_trashbin
Browse files Browse the repository at this point in the history
Ideally we should store the information of who deleted the item and pass
 it, but for now just pass null to avoid a crash.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed May 13, 2024
1 parent 923d2ae commit 1a3ba84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Trash/GroupTrashItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function __construct(
IUser $user,
string $mountPoint
) {
parent::__construct($backend, $originalLocation, $deletedTime, $trashPath, $fileInfo, $user);
parent::__construct($backend, $originalLocation, $deletedTime, $trashPath, $fileInfo, $user, null);
$this->mountPoint = $mountPoint;
}

Expand Down

0 comments on commit 1a3ba84

Please sign in to comment.