From 7135f1d47ab8ca5524f061faabcda75dfeac7e3e Mon Sep 17 00:00:00 2001 From: quenenni Date: Thu, 4 Apr 2013 23:24:24 +0200 Subject: [PATCH] some cleaning --- README.md | 2 +- handleMessage.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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); }); }