@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove two unused private methods

Summary:
* Last call to private `PhrictionTransactionEditor::setNewContent()` was removed in rP64cee4a9.
* Last call to private `PhabricatorRepository::isSSHProtocol()` was removed in rP24ebac8a.

Test Plan: Grep the codebase.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26740

-16
-5
src/applications/phriction/editor/PhrictionTransactionEditor.php
··· 33 33 return $this->oldContent; 34 34 } 35 35 36 - private function setNewContent(PhrictionContent $content) { 37 - $this->newContent = $content; 38 - return $this; 39 - } 40 - 41 36 public function getNewContent() { 42 37 return $this->newContent; 43 38 }
-11
src/applications/repository/storage/PhabricatorRepository.php
··· 1248 1248 return $uri; 1249 1249 } 1250 1250 1251 - /** 1252 - * Determine if a protocol is SSH or SSH-like. 1253 - * 1254 - * @param string $protocol A protocol string, like "http" or "ssh". 1255 - * @return bool True if the protocol is SSH-like. 1256 - * @task uri 1257 - */ 1258 - private function isSSHProtocol($protocol) { 1259 - return ($protocol == 'ssh' || $protocol == 'svn+ssh'); 1260 - } 1261 - 1262 1251 public function delete() { 1263 1252 $this->openTransaction(); 1264 1253