Skip to content

Commit

Permalink
[reports] fix checking for crashes plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ar2rsawseen committed Jan 17, 2017
1 parent d3f887a commit a6da343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/reports/api/reports.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ var metrics = {
if(metrics[i]){
if(i == "analytics")
collections["users"] = true;
else if(i == "crash" && plugins.getConfig("plugins").crashes)
else if(i == "crash" && plugins.isPluginEnabled("crashes"))
collections["crashdata"] = true;
else if(i == "push"){
collections["events.[CLY]_push_sent"] = true;
Expand Down

0 comments on commit a6da343

Please sign in to comment.