summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-07-20 18:31:11 +0200
committerGitHub <noreply@github.com>2016-07-20 18:31:11 +0200
commite9c85e02ac93a89e68801b7fefd0bfca2581aa29 (patch)
tree64534ad080e391c8b1ae2021d6faa55a3e059377 /lib/private
parente2abe70514ef2c66e3b3d88fac0d6b367f3a345c (diff)
parent4f904471507865e12597c7ba906249efe43dfd37 (diff)
downloadnextcloud-server-e9c85e02ac93a89e68801b7fefd0bfca2581aa29.tar.gz
nextcloud-server-e9c85e02ac93a89e68801b7fefd0bfca2581aa29.zip
Merge pull request #462 from nextcloud/master-explode
[master] Use explode() instead of split()
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;