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:
vrana
2012-12-20 14:27:12 -08:00
parent 45b66be96d
commit ef214e94ce
55 changed files with 11 additions and 352 deletions

View File

@@ -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;