summaryrefslogtreecommitdiffstats
path: root/webapp/components/analytics/system_analytics.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/analytics/system_analytics.jsx')
-rw-r--r--webapp/components/analytics/system_analytics.jsx32
1 files changed, 0 insertions, 32 deletions
diff --git a/webapp/components/analytics/system_analytics.jsx b/webapp/components/analytics/system_analytics.jsx
index a3517899a..5af055924 100644
--- a/webapp/components/analytics/system_analytics.jsx
+++ b/webapp/components/analytics/system_analytics.jsx
@@ -1,7 +1,6 @@
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
-import Banner from 'components/admin_console/banner.jsx';
import LineChart from './line_chart.jsx';
import DoughnutChart from './doughnut_chart.jsx';
import StatisticCount from './statistic_count.jsx';
@@ -9,7 +8,6 @@ import StatisticCount from './statistic_count.jsx';
import AnalyticsStore from 'stores/analytics_store.jsx';
import * as Utils from 'utils/utils.jsx';
-import {isLicenseExpired, isLicenseExpiring, displayExpiryDate} from 'utils/license_utils.jsx';
import * as AsyncClient from 'utils/async_client.jsx';
import Constants from 'utils/constants.jsx';
const StatTypes = Constants.StatTypes;
@@ -287,36 +285,6 @@ class SystemAnalytics extends React.Component {
{postTypeGraph}
</div>
);
-
- if (isLicenseExpired()) {
- banner = (
- <Banner
- description={
- <FormattedHTMLMessage
- id='analytics.system.expiredBanner'
- defaultMessage='The Enterprise license expired on {date}. You have 15 days from this date to renew the license, please contact <a href="mailto:commercial@mattermost.com">commercial@mattermost.com</a>.'
- values={{
- date: displayExpiryDate()
- }}
- />
- }
- />
- );
- } else if (isLicenseExpiring()) {
- banner = (
- <Banner
- description={
- <FormattedHTMLMessage
- id='analytics.system.expiringBanner'
- defaultMessage='The Enterprise license is expiring on {date}. To renew your license, please contact <a href="mailto:commercial@mattermost.com">commercial@mattermost.com</a>.'
- values={{
- date: displayExpiryDate()
- }}
- />
- }
- />
- );
- }
}
const userCount = (