summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-07-20 14:37:34 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-07-20 14:37:34 +0200
commitc008346c085628d6b962cc2b132651054be86eba (patch)
treeb19c702d6f7b2d199eb747718836adb520175c59 /lib
parent2e6f7a66cfa220d34086f2b1baaf7af456216491 (diff)
downloadnextcloud-server-c008346c085628d6b962cc2b132651054be86eba.tar.gz
nextcloud-server-c008346c085628d6b962cc2b132651054be86eba.zip
[stable9] Use explode() instead of split
Upstream from https://github.com/owncloud/core/pull/25488
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files.php b/lib/private/files.php
index 639fd30b554..dbed4702273 100644
--- a/lib/private/files.php
+++ b/lib/private/files.php
@@ -191,7 +191,7 @@ class OC_Files {
* @return array $rangeArray ('from'=>int,'to'=>int), ...
*/
private static function parseHttpRangeHeader($rangeHeaderPos, $fileSize) {
- $rArray=split(',', $rangeHeaderPos);
+ $rArray=explode(',', $rangeHeaderPos);
$minOffset = 0;
$ind = 0;