summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-13 21:55:24 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-02-13 21:55:24 +0100
commite2974f1133693c022585d3758df142e0f385cb3e (patch)
treef8d1110d68580b8307e78e1844964b2df486d071 /apps/files_sharing
parent3fc6d6234e39914d8e6e7d4b9ffe0b5420d3aa2d (diff)
downloadnextcloud-server-e2974f1133693c022585d3758df142e0f385cb3e.tar.gz
nextcloud-server-e2974f1133693c022585d3758df142e0f385cb3e.zip
Simplify return statement
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/Helper.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_sharing/lib/Helper.php b/apps/files_sharing/lib/Helper.php
index 684c20c4544..559386149ed 100644
--- a/apps/files_sharing/lib/Helper.php
+++ b/apps/files_sharing/lib/Helper.php
@@ -210,9 +210,7 @@ class Helper {
}
$sliced = array_slice($split, 2);
- $relPath = implode('/', $sliced);
-
- return $relPath;
+ return implode('/', $sliced);
}
/**