1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-09 16:32:39 +01:00

Fix number of lint count displayed on SVN files

Test Plan: Looked at it.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5064
This commit is contained in:
vrana 2013-02-21 18:34:54 -08:00
parent dd076a813f
commit e9b5eb8609
2 changed files with 3 additions and 3 deletions

View file

@ -25,8 +25,8 @@ final class DiffusionLastModifiedController extends DiffusionController {
$view = new DiffusionBrowseTableView();
$view->setUser($request->getUser());
$view->setDiffusionRequest($drequest);
$output = $view->renderLastModifiedColumns(
$drequest,
$handles,
$commit,
$commit_data);

View file

@ -18,13 +18,12 @@ final class DiffusionBrowseTableView extends DiffusionView {
}
public function renderLastModifiedColumns(
DiffusionRequest $drequest,
array $handles,
PhabricatorRepositoryCommit $commit = null,
PhabricatorRepositoryCommitData $data = null) {
assert_instances_of($handles, 'PhabricatorObjectHandle');
$drequest = $this->getDiffusionRequest();
if ($commit) {
$epoch = $commit->getEpoch();
$modified = DiffusionView::linkCommit(
@ -162,6 +161,7 @@ final class DiffusionBrowseTableView extends DiffusionView {
$drequest = clone $request;
$drequest->setPath($request->getPath().$path->getPath().$dir_slash);
$dict = $this->renderLastModifiedColumns(
$drequest,
$this->handles,
$commit,
$path->getLastCommitData());