1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 06:42:42 +01:00

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
This commit is contained in:
Andre Klapper 2024-04-30 18:21:17 +02:00
parent 2cc94023ff
commit 74e28bc2a7

View file

@ -18,11 +18,6 @@ final class PhabricatorProjectReportsController
$project = $this->getProject();
$id = $project->getID();
$can_edit = PhabricatorPolicyFilter::hasCapability(
$viewer,
$project,
PhabricatorPolicyCapability::CAN_EDIT);
$nav = $this->newNavigation(
$project,
PhabricatorProject::ITEM_REPORTS);