diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-06-21 20:35:41 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-07-06 21:52:52 +0200 |
commit | d05d1858625dfca5a10b8407c72501e42d11a04a (patch) | |
tree | c98537c21c3a097e9c655d5dca119ca408aabfc0 /apps/dav/lib/Connector | |
parent | 653812d5836677fcf328ca8ec4410d43b473ab57 (diff) | |
download | nextcloud-server-d05d1858625dfca5a10b8407c72501e42d11a04a.tar.gz nextcloud-server-d05d1858625dfca5a10b8407c72501e42d11a04a.zip |
refactor: save unnecessary method_exists
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/dav/lib/Connector')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/FilesReportPlugin.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php b/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php index 1b66dee1896..6122ba1bfe7 100644 --- a/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php @@ -336,10 +336,7 @@ class FilesReportPlugin extends ServerPlugin { // type check to ensure searchBySystemTag is available, it is not // exposed in API yet - if ( - !empty($systemTagIds) - && (method_exists($this->userFolder, 'searchBySystemTag')) - ) { + if (!empty($systemTagIds)) { $tags = $this->tagManager->getTagsByIds($systemTagIds, $this->userSession->getUser()); foreach ($tags as $tag) { $tagName = $tag->getName(); |