diff options
author | Robin Appelman <robin@icewind.nl> | 2018-10-17 14:58:02 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-10-17 14:58:02 +0200 |
commit | 136113a22b2cc02a86a343d55eb0ce38b3dc6bbd (patch) | |
tree | 7516a9370ecba424d67a2d3f0e6a572ed0bca242 /apps/files_trashbin/lib/Trash/TrashItem.php | |
parent | a369adb4cde6b210d5e1b86743995bdc004fec2c (diff) | |
download | nextcloud-server-136113a22b2cc02a86a343d55eb0ce38b3dc6bbd.tar.gz nextcloud-server-136113a22b2cc02a86a343d55eb0ce38b3dc6bbd.zip |
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 <robin@icewind.nl>
Diffstat (limited to 'apps/files_trashbin/lib/Trash/TrashItem.php')
-rw-r--r-- | apps/files_trashbin/lib/Trash/TrashItem.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |