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

Delete unused code in Diffusion browse file

Test Plan: Browsed a file.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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

vrana 00f730d6 0e36c802

-54
-54
src/applications/diffusion/controller/DiffusionBrowseFileController.php
··· 773 773 return $rows; 774 774 } 775 775 776 - private static function renderRevision(DiffusionRequest $drequest, 777 - $revision) { 778 - 779 - $callsign = $drequest->getCallsign(); 780 - 781 - $name = 'r'.$callsign.$revision; 782 - return phutil_render_tag( 783 - 'a', 784 - array( 785 - 'href' => '/'.$name, 786 - ), 787 - $name 788 - ); 789 - } 790 - 791 - 792 - private static function renderBrowse( 793 - DiffusionRequest $drequest, 794 - $path, 795 - $name = null, 796 - $rev = null, 797 - $line = null, 798 - $view = null, 799 - $title = null) { 800 - 801 - $callsign = $drequest->getCallsign(); 802 - 803 - if ($name === null) { 804 - $name = $path; 805 - } 806 - 807 - $at = null; 808 - if ($rev) { 809 - $at = ';'.$rev; 810 - } 811 - 812 - if ($view) { 813 - $view = '?view='.$view; 814 - } 815 - 816 - if ($line) { 817 - $line = '$'.$line; 818 - } 819 - 820 - return phutil_render_tag( 821 - 'a', 822 - array( 823 - 'href' => "/diffusion/{$callsign}/browse/{$path}{$at}{$line}{$view}", 824 - 'title' => $title, 825 - ), 826 - $name 827 - ); 828 - } 829 - 830 776 private function loadFileForData($path, $data) { 831 777 return PhabricatorFile::buildFromFileDataOrHash( 832 778 $data,