We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e63aa5f commit 11a414dCopy full SHA for 11a414d
lib/FilesHooks.php
@@ -396,10 +396,7 @@ protected function fileMoving($oldPath, $newPath) {
396
}
397
$accessList = $this->getUserPathsFromPath($parentPath, $parentOwner);
398
$affectedUsers = $accessList['users'];
399
- $oldUsers = [];
400
- if (isset($this->oldAccessList['users'])) {
401
- $oldUsers = $this->oldAccessList['users'];
402
- }
+ $oldUsers = $this->oldAccessList['users'] ?? [];
403
404
// file can be shared using GroupFolders, including ACL check
405
if ($this->config->getSystemValueBool('activity_use_cached_mountpoints', false)) {
0 commit comments