removed votes and guids

This commit is contained in:
Kasper Rynning-Tønnesen
2015-04-30 17:07:06 +02:00
parent 5dcffe47d6
commit 14c6b284e2

View File

@@ -205,8 +205,10 @@ io.on('connection', function(socket){
db.collection(coll).find({id:id}, function(err, docs){
if(docs.length == 0)
{
var guids = [guid];
var votes = 1
//var guids = [guid];
//var votes = 1;
var guids = [];
var votes = 0;
db.collection(coll).find({now_playing:true}, function(err, docs){
if(docs.length == 0)
np = true;