Remove 'isPartial' parameter with no effect

Summary: Fixes T12536. Nothing reads this parameter; `PhabricatorFile::newChunkedFile` sets the `isPartial` flag automatically.

Test Plan: Grepped for `isPartial`.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12536

Differential Revision: https://secure.phabricator.com/D17654
This commit is contained in:
epriestley
2017-04-11 10:54:46 -07:00
parent af1d494d66
commit 21709a2bbc

View File

@@ -137,10 +137,6 @@ abstract class PhabricatorFileUploadSource
$parameters = $this->getNewFileParameters(); $parameters = $this->getNewFileParameters();
$parameters = array(
'isPartial' => true,
) + $parameters;
$data_length = $this->getDataLength(); $data_length = $this->getDataLength();
if ($data_length !== null) { if ($data_length !== null) {
$length = $data_length; $length = $data_length;