[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm
bowersj2
lon-capa-cvs@mail.lon-capa.org
Wed, 04 Jun 2003 19:48:19 -0000
bowersj2 Wed Jun 4 15:48:19 2003 EDT
Modified files:
/loncom/interface loncreateuser.pm
Log:
loncreateuser uses routines from loncommon but did not 'use
Apache::loncommon'; didn't seem to bother Perl inside Apache but was
causing errors with loncreateuser when used outside of the server.
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.53 loncom/interface/loncreateuser.pm:1.54
--- loncom/interface/loncreateuser.pm:1.53 Sat May 10 19:06:52 2003
+++ loncom/interface/loncreateuser.pm Wed Jun 4 15:48:19 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.53 2003/05/10 23:06:52 www Exp $
+# $Id: loncreateuser.pm,v 1.54 2003/06/04 19:48:19 bowersj2 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -46,7 +46,7 @@
# 05/10,10/16 Gerd Kortemeyer
# 02/11/02 Matthew Hall
#
-# $Id: loncreateuser.pm,v 1.53 2003/05/10 23:06:52 www Exp $
+# $Id: loncreateuser.pm,v 1.54 2003/06/04 19:48:19 bowersj2 Exp $
###
package Apache::loncreateuser;
@@ -54,6 +54,7 @@
use strict;
use Apache::Constants qw(:common :http);
use Apache::lonnet;
+use Apache::loncommon;
my $loginscript; # piece of javascript used in two separate instances
my $generalrule;