Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2680939
D25786.1734630858.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25786.1734630858.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25786: Remove unused shouldUse* functions from PhabricatorRepository
Attached
Detach File
Event Timeline
Log In to Comment