mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-03 03:11:01 +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();
|
$diff->save();
|
||||||
|
|
||||||
|
$path = '/differential/diff/'.$diff->getID().'/';
|
||||||
|
$uri = PhabricatorEnv::getURI($path);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'diffid' => $diff->getID(),
|
'diffid' => $diff->getID(),
|
||||||
'uri' => 'http://local.aphront.com/differential/diff/'.$diff->getID().'/',
|
'uri' => $uri,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -247,8 +247,7 @@ EOTEXT;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRevisionURI() {
|
public function getRevisionURI() {
|
||||||
// TODO
|
return PhabricatorEnv::getURI('/D'.$this->getRevision()->getID());
|
||||||
return 'http://local.aphront.com/D'.$this->getRevision()->getID();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setIsFirstMailToRecipients($first) {
|
public function setIsFirstMailToRecipients($first) {
|
||||||
|
|
Loading…
Reference in a new issue