@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 some dead code in PhabricatorRepositoryRefEngine

Summary: `$class` are not read anymore since the removal of the call to `PhabricatorWorker::scheduleTask()` in rP3cb543ef.

Test Plan: Read/grep code.

Reviewers: O1 Blessed Committers, mainframe98

Reviewed By: O1 Blessed Committers, mainframe98

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

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

-15
-15
src/applications/repository/engine/PhabricatorRepositoryRefEngine.php
··· 518 518 $commit_table = new PhabricatorRepositoryCommit(); 519 519 $conn = $commit_table->establishConnection('w'); 520 520 521 - $vcs = $repository->getVersionControlSystem(); 522 - switch ($vcs) { 523 - case PhabricatorRepositoryType::REPOSITORY_TYPE_GIT: 524 - $class = 'PhabricatorRepositoryGitCommitMessageParserWorker'; 525 - break; 526 - case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN: 527 - $class = 'PhabricatorRepositorySvnCommitMessageParserWorker'; 528 - break; 529 - case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL: 530 - $class = 'PhabricatorRepositoryMercurialCommitMessageParserWorker'; 531 - break; 532 - default: 533 - throw new Exception(pht("Unknown repository type '%s'!", $vcs)); 534 - } 535 - 536 521 $identifier_tokens = array(); 537 522 foreach ($identifiers as $identifier) { 538 523 $identifier_tokens[] = qsprintf(