1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

Get rid of some local.aphront references.

This commit is contained in:
epriestley 2011-01-31 16:59:01 -08:00
parent 1e561a2bbc
commit 400524abf8
2 changed files with 5 additions and 3 deletions

View file

@ -125,9 +125,12 @@ class ConduitAPI_differential_creatediff_Method extends ConduitAPIMethod {
$diff->save();
$path = '/differential/diff/'.$diff->getID().'/';
$uri = PhabricatorEnv::getURI($path);
return array(
'diffid' => $diff->getID(),
'uri' => 'http://local.aphront.com/differential/diff/'.$diff->getID().'/',
'uri' => $uri,
);
}

View file

@ -247,8 +247,7 @@ EOTEXT;
}
public function getRevisionURI() {
// TODO
return 'http://local.aphront.com/D'.$this->getRevision()->getID();
return PhabricatorEnv::getURI('/D'.$this->getRevision()->getID());
}
public function setIsFirstMailToRecipients($first) {