mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Review comment - remove redundant empty() call
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
This commit is contained in:
parent
6119604f71
commit
52a5d0cea6
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ abstract class Node implements \Sabre\DAV\INode {
|
|||
|
||||
$share = $storage->getShare();
|
||||
$note = $share->getNote();
|
||||
if ($share->getShareOwner() !== $user && !empty($note)) {
|
||||
if ($share->getShareOwner() !== $user) {
|
||||
return $note;
|
||||
}
|
||||
return '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue