Minor, address feedback from D1705.
This commit is contained in:
parent
67abac5201
commit
fe05a63736
|
@ -19,7 +19,6 @@
|
||||||
final class PhabricatorAuditListController extends PhabricatorAuditController {
|
final class PhabricatorAuditListController extends PhabricatorAuditController {
|
||||||
|
|
||||||
private $filter;
|
private $filter;
|
||||||
|
|
||||||
private $filterStatus;
|
private $filterStatus;
|
||||||
|
|
||||||
public function willProcessRequest(array $data) {
|
public function willProcessRequest(array $data) {
|
||||||
|
@ -28,10 +27,9 @@ final class PhabricatorAuditListController extends PhabricatorAuditController {
|
||||||
|
|
||||||
public function processRequest() {
|
public function processRequest() {
|
||||||
$request = $this->getRequest();
|
$request = $this->getRequest();
|
||||||
$user = $request->getUser();
|
|
||||||
|
|
||||||
if ($request->isFormPost()) {
|
if ($request->isFormPost()) {
|
||||||
// If the list filter is POST'd, redirect to GET so the page can be
|
// If the list filter is POST'ed, redirect to GET so the page can be
|
||||||
// bookmarked.
|
// bookmarked.
|
||||||
$uri = $request->getRequestURI();
|
$uri = $request->getRequestURI();
|
||||||
$phid = head($request->getArr('phid'));
|
$phid = head($request->getArr('phid'));
|
||||||
|
@ -291,7 +289,7 @@ final class PhabricatorAuditListController extends PhabricatorAuditController {
|
||||||
case 'all':
|
case 'all':
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Exception("Unknown filter '{$filter}'!");
|
throw new Exception("Unknown filter '{$this->filter}'!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue