1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 21:10:56 +01:00

Revert "PhabricatorRepository: temporarily change the localPath"

Summary:
Reverts an unwanted commit (579941b866)
that got pushed by mistake.
This commit is contained in:
Edward Speyer 2012-03-09 10:50:58 -08:00
parent 4bf559baa0
commit 226d0321af

View file

@ -33,7 +33,6 @@ class PhabricatorRepository extends PhabricatorRepositoryDAO {
protected $details = array(); protected $details = array();
private $sshKeyfile; private $sshKeyfile;
private $actualLocalPath;
public function getConfiguration() { public function getConfiguration() {
return array( return array(
@ -118,15 +117,7 @@ class PhabricatorRepository extends PhabricatorRepositoryDAO {
} }
public function getLocalPath() { public function getLocalPath() {
if (!$this->actualLocalPath) { return $this->getDetail('local-path');
$this->actualLocalPath = $this->getDetail('local-path');
}
return $this->actualLocalPath;
}
// Lets you move the local-path for this instance
public function setLocalPath($path) {
$this->actualLocalPath = $path;
} }
public function execRemoteCommand($pattern /*, $arg, ... */) { public function execRemoteCommand($pattern /*, $arg, ... */) {