diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-06 10:55:49 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-11-07 10:19:20 +0100 |
commit | 9669d451e3473f38a01d012b2c15f45e6438c069 (patch) | |
tree | 2122f87623f6b86605fd107d5b923022587fe07c /apps/files_sharing/lib | |
parent | ca93d73f97ee667bb8c3745954ac563e3e91a1e2 (diff) | |
download | nextcloud-server-9669d451e3473f38a01d012b2c15f45e6438c069.tar.gz nextcloud-server-9669d451e3473f38a01d012b2c15f45e6438c069.zip |
Reduce function calls
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareController.php b/apps/files_sharing/lib/Controller/ShareController.php index 31ede8e7617..29ed242a975 100644 --- a/apps/files_sharing/lib/Controller/ShareController.php +++ b/apps/files_sharing/lib/Controller/ShareController.php @@ -327,7 +327,7 @@ class ShareController extends AuthPublicShareController { $hideFileList = false; - if ($share->getNode() instanceof \OCP\Files\Folder) { + if ($shareNode instanceof \OCP\Files\Folder) { $shareIsFolder = true; |