Page MenuHomePhorge

D25786.1734630858.diff
No OneTemporary

D25786.1734630858.diff

diff --git a/src/applications/repository/storage/PhabricatorRepository.php b/src/applications/repository/storage/PhabricatorRepository.php
--- a/src/applications/repository/storage/PhabricatorRepository.php
+++ b/src/applications/repository/storage/PhabricatorRepository.php
@@ -1229,62 +1229,6 @@
return $uri;
}
-
- /**
- * Determine if we should connect to the remote using SSH flags and
- * credentials.
- *
- * @return bool True to use the SSH protocol.
- * @task uri
- */
- private function shouldUseSSH() {
- if ($this->isHosted()) {
- return false;
- }
-
- $protocol = $this->getRemoteProtocol();
- if ($this->isSSHProtocol($protocol)) {
- return true;
- }
-
- return false;
- }
-
-
- /**
- * Determine if we should connect to the remote using HTTP flags and
- * credentials.
- *
- * @return bool True to use the HTTP protocol.
- * @task uri
- */
- private function shouldUseHTTP() {
- if ($this->isHosted()) {
- return false;
- }
-
- $protocol = $this->getRemoteProtocol();
- return ($protocol == 'http' || $protocol == 'https');
- }
-
-
- /**
- * Determine if we should connect to the remote using SVN flags and
- * credentials.
- *
- * @return bool True to use the SVN protocol.
- * @task uri
- */
- private function shouldUseSVNProtocol() {
- if ($this->isHosted()) {
- return false;
- }
-
- $protocol = $this->getRemoteProtocol();
- return ($protocol == 'svn');
- }
-
-
/**
* Determine if a protocol is SSH or SSH-like.
*

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 17:54 (20 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015278
Default Alt Text
D25786.1734630858.diff (1 KB)

Event Timeline