From 51501f920c092791c7d83ac7067874547a37c96a Mon Sep 17 00:00:00 2001
From: David Lu <david.lu97@outlook.com>
Date: Tue, 6 Sep 2016 18:51:27 -0400
Subject: PLT-3753 Added Segment analytics (#3972)

---
 .../admin_console/external_service_settings.jsx     | 21 ---------------------
 1 file changed, 21 deletions(-)

(limited to 'webapp/components/admin_console/external_service_settings.jsx')

diff --git a/webapp/components/admin_console/external_service_settings.jsx b/webapp/components/admin_console/external_service_settings.jsx
index 59a129fc0..53fdbfb53 100644
--- a/webapp/components/admin_console/external_service_settings.jsx
+++ b/webapp/components/admin_console/external_service_settings.jsx
@@ -20,15 +20,12 @@ export default class ExternalServiceSettings extends AdminSettings {
     }
 
     getConfigFromState(config) {
-        config.ServiceSettings.SegmentDeveloperKey = this.state.segmentDeveloperKey;
         config.ServiceSettings.GoogleDeveloperKey = this.state.googleDeveloperKey;
-
         return config;
     }
 
     getStateFromConfig(config) {
         return {
-            segmentDeveloperKey: config.ServiceSettings.SegmentDeveloperKey,
             googleDeveloperKey: config.ServiceSettings.GoogleDeveloperKey
         };
     }
@@ -47,24 +44,6 @@ export default class ExternalServiceSettings extends AdminSettings {
     renderSettings() {
         return (
             <SettingsGroup>
-                <TextSetting
-                    id='segmentDeveloperKey'
-                    label={
-                        <FormattedMessage
-                            id='admin.service.segmentTitle'
-                            defaultMessage='Segment Write Key:'
-                        />
-                    }
-                    placeholder={Utils.localizeMessage('admin.service.segmentExample', 'Ex "g3fgGOXJAQ43QV7rAh6iwQCkV4cA1Gs"')}
-                    helpText={
-                        <FormattedMessage
-                            id='admin.service.segmentDescription'
-                            defaultMessage='Segment.com is an online service that can be optionally used to track detailed system statistics. You can obtain a key by signing-up for a free account at Segment.com.'
-                        />
-                    }
-                    value={this.state.segmentDeveloperKey}
-                    onChange={this.handleChange}
-                />
                 <TextSetting
                     id='googleDeveloperKey'
                     label={
-- 
cgit v1.2.3-1-g7c22

