Permalink
Browse files

Remove an unnecessary TODO comment.

  • Loading branch information...
1 parent 2de5a7b commit d92f8e245ab569e160870f9468c5c7a681246b95 @borfast committed Oct 27, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 arrispwgen.js
View
@@ -38,8 +38,6 @@ function GenArrisPasswords(startdate, enddate) {
var one_day_in_milliseconds = 24 * 60 * 60 * 1000; // 1 day in milliseconds
// Check how many passwords we're going to generate.
- // TODO: Use arguments[] instead, since it also allows for checking if just one date is passed
- //if (startdate !== undefined && startdate !== 0 && enddate !== undefined && enddate !== 0) {
if (arguments.length === 2) {
password_count = Math.ceil((enddate - startdate + 1) / one_day_in_milliseconds);
} else if (arguments.length === 1) {

0 comments on commit d92f8e2

Please sign in to comment.