Browse Source

EAGLESIX-2708 Removed unused lines

Jared Hall 11 years ago
parent
commit
3d8d9cbc80
1 changed files with 0 additions and 2 deletions
  1. 0 2
      lib/pipeline/expressions/SubtractExpression.js

+ 0 - 2
lib/pipeline/expressions/SubtractExpression.js

@@ -62,8 +62,6 @@ proto.evaluateInternal = function evaluateInternal(vars) {
 			" from a " +
 			" from a " +
 			typeof left);
 			typeof left);
 	}
 	}
-	if (left instanceof Date || right instanceof Date) throw new Error("$subtract does not support dates; code 16376");
-	return left - right;
 };
 };
 
 
 /** Register Expression */
 /** Register Expression */