mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40:55 +01:00
Delete dead code handling README
Summary: Since D2336. Test Plan: Looked at README in Diffusion. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4015
This commit is contained in:
parent
66c648cc56
commit
254678d41d
1 changed files with 0 additions and 7 deletions
|
@ -45,8 +45,6 @@ final class DiffusionBrowseController extends DiffusionController {
|
|||
|
||||
} else {
|
||||
|
||||
$readme = null;
|
||||
|
||||
$phids = array();
|
||||
foreach ($results as $result) {
|
||||
$data = $result->getLastCommitData();
|
||||
|
@ -55,11 +53,6 @@ final class DiffusionBrowseController extends DiffusionController {
|
|||
$phids[$data->getCommitDetail('authorPHID')] = true;
|
||||
}
|
||||
}
|
||||
|
||||
$path = $result->getPath();
|
||||
if (preg_match('/^readme(|\.txt|\.remarkup)$/i', $path)) {
|
||||
$readme = $result;
|
||||
}
|
||||
}
|
||||
|
||||
$phids = array_keys($phids);
|
||||
|
|
Loading…
Reference in a new issue