Skip to content

fix(Storage\Local): Do not call getSourcePath() on SplFileInfo - #48015

Merged
provokateurin merged 1 commit into
masterfrom
fix/storage-local/get-source-path-spl-file-info
Sep 15, 2024
Merged

fix(Storage\Local): Do not call getSourcePath() on SplFileInfo#48015
provokateurin merged 1 commit into
masterfrom
fix/storage-local/get-source-path-spl-file-info

Conversation

@provokateurin

@provokateurinprovokateurin commented Sep 15, 2024

Copy link
Copy Markdown
Member

#47984

Summary

getSourcePath expects a string and with SplInfoFile we already have the full path on the disk so the call is unnecessary in the first place.

Checklist

Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurinprovokateurin added bug 3. to review Waiting for reviews labels Sep 15, 2024
@provokateurinprovokateurin added this to the Nextcloud 31 milestone Sep 15, 2024
@provokateurin
provokateurin requested review from a team, icewind1991, miaulalala, sorbaugh and yemkareems and removed request for a teamSeptember 15, 2024 13:40
@provokateurin

Copy link
Copy Markdown
MemberAuthor

/backport to stable30

@provokateurin

Copy link
Copy Markdown
MemberAuthor

/backport to stable29

@provokateurin

Copy link
Copy Markdown
MemberAuthor

/backport to stable28

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@provokateurin@icewind1991@sorbaugh