Changeset

2032:2714ccde2569

usermanager: Removed an unnecessary global access.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 21 Oct 2009 11:41:11 +0500
parents 2031:e82ceb5bbe49
children 2033:38d32c154cec
files core/usermanager.lua
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/core/usermanager.lua	Wed Oct 21 11:40:29 2009 +0500
+++ b/core/usermanager.lua	Wed Oct 21 11:41:11 2009 +0500
@@ -6,10 +6,7 @@
 -- COPYING file in the source package for more information.
 --
 
-
-
-require "util.datamanager"
-local datamanager = datamanager;
+local datamanager = require "util.datamanager";
 local log = require "util.logger".init("usermanager");
 local type = type;
 local error = error;