fiusing notificationCenter for sendCommandToAllUsers for testing, seems to work

This commit is contained in:
Jeena Paradies 2012-07-21 01:29:58 +02:00
parent 4ac86c69b4
commit 8cf8f057bb
4 changed files with 20 additions and 8 deletions

View file

@ -35,9 +35,6 @@ define(["Server/User", "Server/Channel", "Server/Factory"], function(User, Chann
this.channels[channelName] = channel;
}
user.notificationCenter = channel.notificationCenter;
user.factory = channel.factory;
channel.addUser(user);
user.setChannel(channel);