diff --git a/README.md b/README.md index f51b9e6..84703d7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Description -This plugin allows users to subscribe to pads and receive email updates when a pad is being modified. You can modify the frequency. This plugin is very much in alpha stage and has a lot of things TODO (See TODO). +This plugin allows users to subscribe to pads and receive email updates when a pad is being modified. You can modify the frequency. This plugin is still in early stage and has things TODO (See TODO). # Source code On Github : https://github.com/JohnMcLear/ep_email_notifications diff --git a/handleMessage.js b/handleMessage.js index e10e2cf..358c5e7 100644 --- a/handleMessage.js +++ b/handleMessage.js @@ -366,7 +366,7 @@ exports.setAuthorEmailRegistered = function(userInfo, authorId, subscribeId, pad // add the registered values to the pending section of the object value['pending'][userInfo.email] = registered; - console.warn("written to database"); + // Write the modified datas back in the Db db.set("emailSubscription:" + padId, value); // stick it in the database }); @@ -390,7 +390,6 @@ exports.unsetAuthorEmailRegistered = function(userInfo, authorId, unsubscribeId, value['pending'][userInfo.email] = registered; // Write the modified datas back in the Db - console.warn("written to database"); db.set("emailSubscription:" + padId, value); }); }