summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-07-20 14:36:39 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-07-20 14:36:39 +0200
commit4f904471507865e12597c7ba906249efe43dfd37 (patch)
tree91ddb9e8a767444160ded5936130b4b257eb8e51 /lib/private
parentf414c664f281ad14ed2b0e976ea73238d895457d (diff)
downloadnextcloud-server-4f904471507865e12597c7ba906249efe43dfd37.tar.gz
nextcloud-server-4f904471507865e12597c7ba906249efe43dfd37.zip
[master] Use explode() instead of split()
Sync from https://github.com/owncloud/core/pull/25488
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/legacy/files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/files.php b/lib/private/legacy/files.php
index 8cf98322223..cb8dc35aa5c 100644
--- a/lib/private/legacy/files.php
+++ b/lib/private/legacy/files.php
@@ -192,7 +192,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;