[LON-CAPA-cvs] cvs: loncom /auth localstudentphoto.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 02 Nov 2004 23:11:57 -0000


albertel		Tue Nov  2 18:11:57 2004 EDT

  Modified files:              
    /loncom/auth	localstudentphoto.pm 
  Log:
  - no need to include loncommon
  
  
Index: loncom/auth/localstudentphoto.pm
diff -u loncom/auth/localstudentphoto.pm:1.1 loncom/auth/localstudentphoto.pm:1.2
--- loncom/auth/localstudentphoto.pm:1.1	Tue Oct 26 11:03:08 2004
+++ loncom/auth/localstudentphoto.pm	Tue Nov  2 18:11:56 2004
@@ -1,6 +1,6 @@
 # The LON-CAPA dummy student photo fetch mechnism
 #
-# $Id: localstudentphoto.pm,v 1.1 2004/10/26 15:03:08 albertel Exp $
+# $Id: localstudentphoto.pm,v 1.2 2004/11/02 23:11:56 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -30,11 +30,10 @@
 package localstudentphoto;
 use lib '/home/httpd/lib/perl/';
 use LONCAPA::Configuration;
-use Apache::loncommon;
 
 sub fetch {
     my ($domain,$user)=@_;
-    return &Apache::loncommon::propath($domain,$user).
+    return &main::propath($domain,$user).
 	'/userfiles/internal/studentphoto.jpg';
 }