Skip to content

Commit

Permalink
Fixed formatting issue
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Esser <[email protected]>
  • Loading branch information
x7airworker authored Mar 6, 2024
1 parent 841ebb9 commit ed5e6e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ACL/ACLStorageWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ public function rename($source, $target) {
if ($sourceParent === '.') {
$sourceParent = '';
}
$targetParent = dirname($target);
if ($targetParent === '.') {
$targetParent = '';
}
$targetParent = dirname($target);
if ($targetParent === '.') {
$targetParent = '';
}
return ($sourceParent === $targetParent ||
$this->checkPermissions($sourceParent, Constants::PERMISSION_DELETE)) &&
$this->checkPermissions($source, Constants::PERMISSION_UPDATE & Constants::PERMISSION_READ) &&
Expand Down

0 comments on commit ed5e6e2

Please sign in to comment.