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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user