1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 05:20:56 +01:00

Remove Send Message Button on Profile w/ no Conpherence

Summary: Fixes T7847

Test Plan: Uninstall Conpherence

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7847

Differential Revision: https://secure.phabricator.com/D12450
This commit is contained in:
Chad Little 2015-04-17 13:25:05 -07:00
parent 52c6a9707f
commit 50e2d5174f

View file

@ -133,7 +133,7 @@ final class PhabricatorPeopleProfileController
$crumbs = $this->buildApplicationCrumbs(); $crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb($name); $crumbs->addTextCrumb($name);
$class = 'PhabricatorManiphestApplication'; $class = 'PhabricatorConpherenceApplication';
if (PhabricatorApplication::isClassInstalledForViewer($class, $viewer)) { if (PhabricatorApplication::isClassInstalledForViewer($class, $viewer)) {
$href = '/conpherence/new/?participant='.$user->getPHID(); $href = '/conpherence/new/?participant='.$user->getPHID();
$image = id(new PHUIIconView()) $image = id(new PHUIIconView())