From 136113a22b2cc02a86a343d55eb0ce38b3dc6bbd Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 17 Oct 2018 14:58:02 +0200 Subject: remove user parameter from `ITrashItem::getOriginalLocation` since the target user is known at the time of creating the trashitem the original location can already be adjusted on a per user level Signed-off-by: Robin Appelman --- apps/files_trashbin/lib/Trash/TrashItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_trashbin/lib/Trash/TrashItem.php') diff --git a/apps/files_trashbin/lib/Trash/TrashItem.php b/apps/files_trashbin/lib/Trash/TrashItem.php index 6d1c6dc328d..880a5503014 100644 --- a/apps/files_trashbin/lib/Trash/TrashItem.php +++ b/apps/files_trashbin/lib/Trash/TrashItem.php @@ -57,7 +57,7 @@ class TrashItem implements ITrashItem { return $this->backend; } - public function getOriginalLocation(IUser $user): string { + public function getOriginalLocation(): string { return $this->orignalLocation; } -- cgit v1.2.3