summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-09-17 11:15:59 +0200
committerJoas Schilling <coding@schilljs.com>2019-09-17 11:15:59 +0200
commita4ba2113b2e083ea8cf358d683b1b0a370cca385 (patch)
tree1fd7aee990f7b51c00a4fa4f04e1b4b8d3dd5ce4 /lib/private/Repair
parentd43a478840ace4cf827643f3254288b66eb75a8a (diff)
downloadnextcloud-server-a4ba2113b2e083ea8cf358d683b1b0a370cca385.tar.gz
nextcloud-server-a4ba2113b2e083ea8cf358d683b1b0a370cca385.zip
Fix getById for files in appdata and the root mount
In case the path we are currently in is inside the appdata_* folder, the original getById method does not work, because it can only look inside the user's mount points. But the user has no mount point for the root storage. So in that case we directly check the mount of the root if it contains the id. If it does we check if the path is inside the path we are working in. Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Repair')
0 files changed, 0 insertions, 0 deletions