mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +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:
parent
dd076a813f
commit
e9b5eb8609
2 changed files with 3 additions and 3 deletions
|
@ -25,8 +25,8 @@ final class DiffusionLastModifiedController extends DiffusionController {
|
||||||
|
|
||||||
$view = new DiffusionBrowseTableView();
|
$view = new DiffusionBrowseTableView();
|
||||||
$view->setUser($request->getUser());
|
$view->setUser($request->getUser());
|
||||||
$view->setDiffusionRequest($drequest);
|
|
||||||
$output = $view->renderLastModifiedColumns(
|
$output = $view->renderLastModifiedColumns(
|
||||||
|
$drequest,
|
||||||
$handles,
|
$handles,
|
||||||
$commit,
|
$commit,
|
||||||
$commit_data);
|
$commit_data);
|
||||||
|
|
|
@ -18,13 +18,12 @@ final class DiffusionBrowseTableView extends DiffusionView {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function renderLastModifiedColumns(
|
public function renderLastModifiedColumns(
|
||||||
|
DiffusionRequest $drequest,
|
||||||
array $handles,
|
array $handles,
|
||||||
PhabricatorRepositoryCommit $commit = null,
|
PhabricatorRepositoryCommit $commit = null,
|
||||||
PhabricatorRepositoryCommitData $data = null) {
|
PhabricatorRepositoryCommitData $data = null) {
|
||||||
assert_instances_of($handles, 'PhabricatorObjectHandle');
|
assert_instances_of($handles, 'PhabricatorObjectHandle');
|
||||||
|
|
||||||
$drequest = $this->getDiffusionRequest();
|
|
||||||
|
|
||||||
if ($commit) {
|
if ($commit) {
|
||||||
$epoch = $commit->getEpoch();
|
$epoch = $commit->getEpoch();
|
||||||
$modified = DiffusionView::linkCommit(
|
$modified = DiffusionView::linkCommit(
|
||||||
|
@ -162,6 +161,7 @@ final class DiffusionBrowseTableView extends DiffusionView {
|
||||||
$drequest = clone $request;
|
$drequest = clone $request;
|
||||||
$drequest->setPath($request->getPath().$path->getPath().$dir_slash);
|
$drequest->setPath($request->getPath().$path->getPath().$dir_slash);
|
||||||
$dict = $this->renderLastModifiedColumns(
|
$dict = $this->renderLastModifiedColumns(
|
||||||
|
$drequest,
|
||||||
$this->handles,
|
$this->handles,
|
||||||
$commit,
|
$commit,
|
||||||
$path->getLastCommitData());
|
$path->getLastCommitData());
|
||||||
|
|
Loading…
Reference in a new issue