From d7f6bd42d63f6daf0670463c6c8f177aa1b4be05 Mon Sep 17 00:00:00 2001 From: 20after4 <20after4@deviantart.com> Date: Fri, 2 Nov 2012 13:43:14 -0700 Subject: [PATCH] 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 --- .../maniphest/editor/ManiphestTransactionEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/maniphest/editor/ManiphestTransactionEditor.php b/src/applications/maniphest/editor/ManiphestTransactionEditor.php index c307afdf33..21e9f5836d 100644 --- a/src/applications/maniphest/editor/ManiphestTransactionEditor.php +++ b/src/applications/maniphest/editor/ManiphestTransactionEditor.php @@ -264,7 +264,7 @@ final class ManiphestTransactionEditor extends PhabricatorEditor { $is_create = $this->isCreate($transactions); - $task_uri = PhabricatorEnv::getURI('/T'.$task->getID()); + $task_uri = PhabricatorEnv::getProductionURI('/T'.$task->getID()); $reply_handler = $this->buildReplyHandler($task);