aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/system.ts
diff options
context:
space:
mode:
authorGuillaume Peoc'h <guillaume.peoch@sonarsource.com>2022-05-24 14:23:09 +0200
committersonartech <sonartech@sonarsource.com>2022-05-24 20:10:14 +0000
commit28852b57ef5d80596d8e98bee00a6e6a0d0c611b (patch)
treed607bb66754f00627bdc6401a0f7f241569014b6 /server/sonar-web/src/main/js/helpers/system.ts
parentb66ff887e1ad3a81ef438a3832818e61c03eebd7 (diff)
downloadsonarqube-28852b57ef5d80596d8e98bee00a6e6a0d0c611b.tar.gz
sonarqube-28852b57ef5d80596d8e98bee00a6e6a0d0c611b.zip
SONAR-16426 Remove SonarCloud code (frontend)
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/system.ts')
-rw-r--r--server/sonar-web/src/main/js/helpers/system.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/helpers/system.ts b/server/sonar-web/src/main/js/helpers/system.ts
index 9a78a7c03e1..54da1b6b7d5 100644
--- a/server/sonar-web/src/main/js/helpers/system.ts
+++ b/server/sonar-web/src/main/js/helpers/system.ts
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import { InstanceType } from '../types/system';
import { getEnhancedWindow } from './browser';
export function getBaseUrl() {
@@ -36,10 +35,6 @@ export function isOfficial() {
return getEnhancedWindow().official;
}
-export function isSonarCloud() {
- return getInstance() === InstanceType.SonarCloud;
-}
-
export function getReactDomContainerSelector() {
return '#content';
}