Page MenuHomePhabricator

D13645.id32993.diff
No OneTemporary

D13645.id32993.diff

diff --git a/src/applications/fund/controller/FundInitiativeViewController.php b/src/applications/fund/controller/FundInitiativeViewController.php
--- a/src/applications/fund/controller/FundInitiativeViewController.php
+++ b/src/applications/fund/controller/FundInitiativeViewController.php
@@ -45,7 +45,6 @@
$initiative->getStatus());
$header = id(new PHUIHeaderView())
- ->setObjectName($initiative->getMonogram())
->setHeader($initiative->getName())
->setUser($viewer)
->setPolicyObject($initiative)
diff --git a/src/view/phui/PHUIHeaderView.php b/src/view/phui/PHUIHeaderView.php
--- a/src/view/phui/PHUIHeaderView.php
+++ b/src/view/phui/PHUIHeaderView.php
@@ -4,7 +4,6 @@
const PROPERTY_STATUS = 1;
- private $objectName;
private $header;
private $tags = array();
private $image;
@@ -27,11 +26,6 @@
return $this;
}
- public function setObjectName($object_name) {
- $this->objectName = $object_name;
- return $this;
- }
-
public function setNoBackground($nada) {
$this->noBackground = $nada;
return $this;
@@ -193,18 +187,6 @@
->setObject($this->policyObject);
}
- if ($this->objectName) {
- $left[] = array(
- phutil_tag(
- 'a',
- array(
- 'href' => '/'.$this->objectName,
- ),
- $this->objectName),
- ' ',
- );
- }
-
if ($this->actionLinks) {
$actions = array();
foreach ($this->actionLinks as $button) {

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 23, 10:48 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7718367
Default Alt Text
D13645.id32993.diff (1 KB)

Event Timeline