Skip to content

Commit

Permalink
Romoveing useless download count from status updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala committed Jun 15, 2011
1 parent 8143ca1 commit b170c01
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions downloads/observer.js
Expand Up @@ -95,7 +95,6 @@ exports.stream = function stream(next, stop) {
function onSecurityChange(progress, request, state, download) {
next({
type: 'security',
active: dowloadManager.activeDownloadCount,
download: Download(download)
})
}
Expand All @@ -111,7 +110,6 @@ exports.stream = function stream(next, stop) {
next({
type: 'status',
status: status,
downloads: dowloadManager.activeDownloadCount,
download: Download(download)
})
}
Expand All @@ -120,7 +118,6 @@ exports.stream = function stream(next, stop) {
next({
type: 'state',
previousState: state,
downloads: dowloadManager.activeDownloadCount,
download: Download(download)
})
}
Expand Down

0 comments on commit b170c01

Please sign in to comment.