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:
parent
4bf559baa0
commit
226d0321af
1 changed files with 1 additions and 10 deletions
|
@ -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, ... */) {
|
||||||
|
|
Loading…
Reference in a new issue