@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Set name parameter when saving file via Drydock

Summary: This sets the name parameter when Drydock uploads a file so that the storage engine picks it up correctly.

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D8673

authored by

James Rhodes and committed by
epriestley
85394a9e 26c836e1

+3 -1
+3 -1
src/applications/drydock/interface/filesystem/DrydockSFTPFilesystemInterface.php
··· 46 46 47 47 public function saveFile($path, $name) { 48 48 $data = $this->readFile($path); 49 - $file = PhabricatorFile::newFromFileData($data); 49 + $file = PhabricatorFile::newFromFileData( 50 + $data, 51 + array('name' => $name)); 50 52 $file->setName($name); 51 53 $file->save(); 52 54 return $file;