some cleaning
This commit is contained in:
		
							parent
							
								
									f7e79f4846
								
							
						
					
					
						commit
						7135f1d47a
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
|  | @ -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); | ||||
|   }); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 quenenni
						quenenni