1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-15 18:10:53 +01:00

(stable) 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 f624c82381
commit 167e58479c

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;