1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 14:52:41 +01:00

Use getProductionURI instead of getURI for emails.

Summary: 'TASK DETAIL' links point to the non-production uri.  Our daemons run in an environment that uses different baseUrl because we can't use https locally (https is provided by our load balancers)

Test Plan: check emails generated with a non-production environment. See that the TASK DETAIL link points to production url.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3877
This commit is contained in:
20after4 2012-11-02 13:43:14 -07:00 committed by epriestley
parent 041040c422
commit d7f6bd42d6

View file

@ -264,7 +264,7 @@ final class ManiphestTransactionEditor extends PhabricatorEditor {
$is_create = $this->isCreate($transactions); $is_create = $this->isCreate($transactions);
$task_uri = PhabricatorEnv::getURI('/T'.$task->getID()); $task_uri = PhabricatorEnv::getProductionURI('/T'.$task->getID());
$reply_handler = $this->buildReplyHandler($task); $reply_handler = $this->buildReplyHandler($task);