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

Fix call to non-existing getDisplayName() in DiffusionRepositoryClusterEngine.php

Summary:
`DiffusionRepositoryClusterEngine` calls `$this->getDisplayName()` which is not defined in this class or its parent class.
Looking at the variable use in the companying error message, getting the name of the `$repository` was intended instead.

Test Plan: Carefully read the code and check available methods in its parent classes.

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/D25653

+1 -1
+1 -1
src/applications/diffusion/protocol/DiffusionRepositoryClusterEngine.php
··· 586 586 'for %s seconds(s). This repository will be frozen.', 587 587 $this->clusterWriteOwner, 588 588 $device->getName(), 589 - $this->getDisplayName(), 589 + $repository->getDisplayName(), 590 590 new PhutilNumber($duration))); 591 591 } 592 592