mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Fix specification of ttl.relative
via LFS
Summary: Fixes T12828. This API was tightened up D17616, but I missed this callsite. Test Plan: I've just got a good feeling in my bones. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12828 Differential Revision: https://secure.phabricator.com/D18119
This commit is contained in:
parent
0610b86f57
commit
4b15871ced
1 changed files with 8 additions and 2 deletions
|
@ -208,11 +208,17 @@ abstract class PhabricatorFileUploadSource
|
|||
}
|
||||
|
||||
private function getNewFileParameters() {
|
||||
return array(
|
||||
$parameters = array(
|
||||
'name' => $this->getName(),
|
||||
'ttl.relative' => $this->getRelativeTTL(),
|
||||
'viewPolicy' => $this->getViewPolicy(),
|
||||
);
|
||||
|
||||
$ttl = $this->getRelativeTTL();
|
||||
if ($ttl !== null) {
|
||||
$parameters['ttl.relative'] = $ttl;
|
||||
}
|
||||
|
||||
return $parameters;
|
||||
}
|
||||
|
||||
private function getChunkEngine() {
|
||||
|
|
Loading…
Reference in a new issue