Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stats: Remove unused stats-lists from site page. #10629

Merged
merged 1 commit into from Jan 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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