Skip to content

Commit

Permalink
Update CacheRootPermissionsMask.php
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
  • Loading branch information
solracsf authored Jul 29, 2023
1 parent 8b78912 commit 2b5716d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Mount/CacheRootPermissionsMask.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ protected function formatCacheEntry($entry) {
$path = $entry['path'];
$isRoot = $path === '' || (str_starts_with($path, '__groupfolders/') && count(explode('/', $path)) === 2);

// Use null coalescing assignment operator
$entry['scan_permissions'] ??= $entry['permissions'];

if (isset($entry['permissions']) && $isRoot) {
Expand Down

0 comments on commit 2b5716d

Please sign in to comment.