move randomString function into module

This commit is contained in:
booo 2012-01-28 13:24:58 +01:00
parent f7089bba20
commit a300bb6e92
8 changed files with 26 additions and 90 deletions

View file

@ -26,6 +26,8 @@ var padManager = require("./PadManager");
var sessionManager = require("./SessionManager");
var settings = require("../utils/Settings")
var randomString = require("../utils/randomstring");
/**
* This function controlls the access to a pad, it checks if the user can access a pad.
* @param padID the pad the user wants to access