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:
parent
1e561a2bbc
commit
400524abf8
2 changed files with 5 additions and 3 deletions
|
@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue