Latest bits

This commit is contained in:
Dobie Wollert
2015-06-29 00:45:40 -04:00
parent b80f326ec2
commit 0d5ebb3f43
12 changed files with 241 additions and 29 deletions

View File

@ -139,9 +139,6 @@ module.exports = function(config, calendar) {
var subject = 'Workorder created: ' + workorder.biomedId;
console.log('-------------------------');
console.log(to);
async.waterfall([
function(cb) {
if (to && to.length > 0) {
@ -151,7 +148,6 @@ module.exports = function(config, calendar) {
to: to,
subject: subject
};
console.log(msg);
server.send(msg, function(err, message) { cb(err); });
} else {
cb();
@ -165,7 +161,6 @@ module.exports = function(config, calendar) {
to: techTo,
subject: subject
};
console.log(msg);
server.send(msg, function(err, message) { cb(err); });
} else {
cb();
@ -318,7 +313,6 @@ module.exports = function(config, calendar) {
to: to,
subject: subject
};
console.log(msg);
server.send(msg, function(err, message) { cb(err); });
} else {
cb();
@ -332,7 +326,6 @@ module.exports = function(config, calendar) {
to: techTo,
subject: subject
};
console.log(msg);
server.send(msg, function(err, message) { cb(err); });
} else {
cb();