modules/orionode/lib/shared/db/userProjects.js
function removeProjectFromUser(user, project) {
		return userProject.findOneAndUpdate({username: user}, {$pull: {'sharedProjects': { $in: [project]}} }, {
			safe: true,
			w: 'majority'
		}).exec();
	}
function removeProjectFromUser(user, project) {
		return userProject.findOneAndUpdate({username: user}, {$pull: {'sharedProjects': { $in: [project]}} }, {
			safe: true,
			w: 'majority'
		}).exec();
	}
function removeProjectFromUser ( user , project ) { return userProject . findOneAndUpdate ( { username : user } , { $pull : { 'sharedProjects' : { $in : [ project ] } } } , { safe : true , w : 'majority' } ) . exec ( ) ; }
Removes a project from a user's shared projects.
Removes a project from a user s shared projects .