From 226d0321af444a182fc1b3f2d2ce4865064cfba4 Mon Sep 17 00:00:00 2001 From: Edward Speyer Date: Fri, 9 Mar 2012 10:50:58 -0800 Subject: [PATCH] Revert "PhabricatorRepository: temporarily change the localPath" Summary: Reverts an unwanted commit (579941b866f2abcfc104c29bd3b016c48e718a02) that got pushed by mistake. --- .../storage/repository/PhabricatorRepository.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/applications/repository/storage/repository/PhabricatorRepository.php b/src/applications/repository/storage/repository/PhabricatorRepository.php index 6c1fdb843a..66e2baa8cf 100644 --- a/src/applications/repository/storage/repository/PhabricatorRepository.php +++ b/src/applications/repository/storage/repository/PhabricatorRepository.php @@ -33,7 +33,6 @@ class PhabricatorRepository extends PhabricatorRepositoryDAO { protected $details = array(); private $sshKeyfile; - private $actualLocalPath; public function getConfiguration() { return array( @@ -118,15 +117,7 @@ class PhabricatorRepository extends PhabricatorRepositoryDAO { } public function getLocalPath() { - if (!$this->actualLocalPath) { - $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; + return $this->getDetail('local-path'); } public function execRemoteCommand($pattern /*, $arg, ... */) {