Skip to content

Commit

Permalink
Stats: Remove unused stats-lists from site page.
Browse files Browse the repository at this point in the history
  • Loading branch information
timmyc committed Jan 13, 2017
1 parent 504b077 commit b1994d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
13 changes: 0 additions & 13 deletions client/my-sites/stats/controller.js
Expand Up @@ -352,14 +352,6 @@ module.exports = {
siteID: siteId, statType: 'statsVideoPlays', period: activeFilter.period, date: endDate, domain: siteDomain } );
const searchTermsList = new StatsList( {
siteID: siteId, statType: 'statsSearchTerms', period: activeFilter.period, date: endDate, domain: siteDomain } );
const tagsList = new StatsList( { siteID: siteId, statType: 'statsTags', domain: siteDomain } );
const commentsList = new StatsList( { siteID: siteId, statType: 'statsComments', domain: siteDomain } );
const wpcomFollowersList = new StatsList( {
siteID: siteId, statType: 'statsFollowers', type: 'wpcom', domain: siteDomain, max: 7 } );
const emailFollowersList = new StatsList( {
siteID: siteId, statType: 'statsFollowers', type: 'email', domain: siteDomain, max: 7 } );
const commentFollowersList = new StatsList( {
siteID: siteId, statType: 'statsCommentFollowers', domain: siteDomain, max: 7 } );

siteComponent = SiteStatsComponent;
const siteComponentChildren = {
Expand All @@ -379,11 +371,6 @@ module.exports = {
siteId,
period,
chartPeriod,
tagsList,
commentsList,
wpcomFollowersList,
emailFollowersList,
commentFollowersList,
followList,
searchTermsList,
slug: siteDomain,
Expand Down
2 changes: 0 additions & 2 deletions client/my-sites/stats/site.jsx
Expand Up @@ -102,7 +102,6 @@ module.exports = React.createClass( {
const queryDate = this.props.date.format( 'YYYY-MM-DD' );
const { period, endOf } = this.props.period;
const moduleStrings = statsStrings();
let nonPeriodicModules;
let videoList;
let podcastList;

Expand Down Expand Up @@ -218,7 +217,6 @@ module.exports = React.createClass( {
{ podcastList }
</div>
</div>
{ nonPeriodicModules }
</div>
</Main>
);
Expand Down

0 comments on commit b1994d6

Please sign in to comment.