Move setUser() to AphrontView
Summary: This is used in every other view. Test Plan: Browsed around. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4248
This commit is contained in:
@@ -7,7 +7,6 @@ final class AphrontDialogView extends AphrontView {
|
||||
private $cancelURI;
|
||||
private $cancelText = 'Cancel';
|
||||
private $submitURI;
|
||||
private $user;
|
||||
private $hidden = array();
|
||||
private $class;
|
||||
private $renderAsForm = true;
|
||||
@@ -18,11 +17,6 @@ final class AphrontDialogView extends AphrontView {
|
||||
const WIDTH_FORM = 'form';
|
||||
const WIDTH_FULL = 'full';
|
||||
|
||||
public function setUser(PhabricatorUser $user) {
|
||||
$this->user = $user;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setSubmitURI($uri) {
|
||||
$this->submitURI = $uri;
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user