@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.

Remove unused class

Summary: This class is unused after D6488, maybe we should remove it?

Test Plan: `grep`

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

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

-43
-2
src/__phutil_library_map__.php
··· 93 93 'Aphront400Response' => 'aphront/response/Aphront400Response.php', 94 94 'Aphront403Response' => 'aphront/response/Aphront403Response.php', 95 95 'Aphront404Response' => 'aphront/response/Aphront404Response.php', 96 - 'AphrontAbstractAttachedFileView' => 'view/control/AphrontAbstractAttachedFileView.php', 97 96 'AphrontAjaxResponse' => 'aphront/response/AphrontAjaxResponse.php', 98 97 'AphrontApplicationConfiguration' => 'aphront/configuration/AphrontApplicationConfiguration.php', 99 98 'AphrontBarView' => 'view/widget/bars/AphrontBarView.php', ··· 3153 3152 'Aphront400Response' => 'AphrontResponse', 3154 3153 'Aphront403Response' => 'AphrontHTMLResponse', 3155 3154 'Aphront404Response' => 'AphrontHTMLResponse', 3156 - 'AphrontAbstractAttachedFileView' => 'AphrontView', 3157 3155 'AphrontAjaxResponse' => 'AphrontResponse', 3158 3156 'AphrontBarView' => 'AphrontView', 3159 3157 'AphrontCSRFException' => 'AphrontException',
-41
src/view/control/AphrontAbstractAttachedFileView.php
··· 1 - <?php 2 - 3 - abstract class AphrontAbstractAttachedFileView extends AphrontView { 4 - 5 - private $file; 6 - 7 - final public function setFile(PhabricatorFile $file) { 8 - $this->file = $file; 9 - return $this; 10 - } 11 - 12 - final protected function getFile() { 13 - return $this->file; 14 - } 15 - 16 - final protected function getName() { 17 - $file = $this->getFile(); 18 - return phutil_tag( 19 - 'a', 20 - array( 21 - 'href' => $file->getViewURI(), 22 - 'target' => '_blank', 23 - ), 24 - $file->getName()); 25 - } 26 - 27 - final protected function getRemoveElement() { 28 - $file = $this->getFile(); 29 - return javelin_tag( 30 - 'a', 31 - array( 32 - 'class' => 'button grey', 33 - 'sigil' => 'aphront-attached-file-view-remove', 34 - // NOTE: Using 'ref' here instead of 'meta' because the file upload 35 - // endpoint doesn't receive request metadata and thus can't generate 36 - // a valid response with node metadata. 37 - 'ref' => $file->getPHID(), 38 - ), 39 - "\xE2\x9C\x96"); // "Heavy Multiplication X" 40 - } 41 - }