Skip to content

Commit

Permalink
fix: psalm
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <[email protected]>
  • Loading branch information
solracsf authored Feb 8, 2025
1 parent 7394e08 commit 158cecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_trashbin/lib/Trashbin.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static function getUidAndFilename($filename) {
// to a remote user with a federated cloud ID we use the current logged-in
// user. We need a valid local user to move the file to the right trash bin
if (!$userManager->userExists($uid)) {
$uid = $userSession->getUser();
$uid = $userSession->getUser()->getUID();
}
if (!$uid) {
// no owner, usually because of share link from ext storage
Expand Down

0 comments on commit 158cecc

Please sign in to comment.