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

Reports: Remove unused variable

Summary: This variable feels unneeded in this function. It may have a better and more fulfilling life after finding a new function.

Test Plan: Read slowly and aloud all code in the function.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25609

-5
-5
src/applications/project/controller/PhabricatorProjectReportsController.php
··· 18 18 $project = $this->getProject(); 19 19 $id = $project->getID(); 20 20 21 - $can_edit = PhabricatorPolicyFilter::hasCapability( 22 - $viewer, 23 - $project, 24 - PhabricatorPolicyCapability::CAN_EDIT); 25 - 26 21 $nav = $this->newNavigation( 27 22 $project, 28 23 PhabricatorProject::ITEM_REPORTS);