diff options
author | Dariusz Olszewski <starypatyk@users.noreply.github.com> | 2022-10-10 21:03:28 +0200 |
---|---|---|
committer | Dariusz Olszewski <starypatyk@users.noreply.github.com> | 2022-10-10 21:03:28 +0200 |
commit | c0bd7484c665edb28f6e2b08a9ea1229438b846e (patch) | |
tree | abf19bfb132802114ae409ef6ed54c7343eaeeac /apps/dav/lib/Connector | |
parent | 255d1dd68644f02739dd4bbf377893ecdb9b8629 (diff) | |
download | nextcloud-server-c0bd7484c665edb28f6e2b08a9ea1229438b846e.tar.gz nextcloud-server-c0bd7484c665edb28f6e2b08a9ea1229438b846e.zip |
Review comment - remove redundant empty() call
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
Diffstat (limited to 'apps/dav/lib/Connector')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/Node.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Node.php b/apps/dav/lib/Connector/Sabre/Node.php index e1cbdeac7e0..1e32e74c325 100644 --- a/apps/dav/lib/Connector/Sabre/Node.php +++ b/apps/dav/lib/Connector/Sabre/Node.php @@ -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 ''; |