Reduce function calls

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2018-11-06 10:55:49 +01:00
parent ca93d73f97
commit 9669d451e3
No known key found for this signature in database
GPG key ID: FE03C3A163FEDE68

View file

@ -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;