[LON-CAPA-cvs] cvs: loncom / lonenc.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 27 Dec 2006 17:11:09 -0000


albertel		Wed Dec 27 12:11:09 2006 EDT

  Modified files:              
    /loncom	lonenc.pm 
  Log:
   - no need to another get on the environment coursedescription already got it
  
  
Index: loncom/lonenc.pm
diff -u loncom/lonenc.pm:1.19 loncom/lonenc.pm:1.20
--- loncom/lonenc.pm:1.19	Sun Dec 24 16:22:33 2006
+++ loncom/lonenc.pm	Wed Dec 27 12:11:08 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # URL translation for encrypted filenames
 #
-# $Id: lonenc.pm,v 1.19 2006/12/24 21:22:33 raeburn Exp $
+# $Id: lonenc.pm,v 1.20 2006/12/27 17:11:08 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -47,10 +47,7 @@
             my %descargs = ( 'one_time' => 1);
             my %course = 
                &Apache::lonnet::coursedescription($cid,\%descargs);
-            my %seedhash = 
-               &Apache::lonnet::get('environment',['internal.encseed'],
-                                    $course{'domain'},$course{'num'});
-            $seed = $seedhash{'internal.encseed'};
+            $seed = $course{'internal.encseed'};
         }
     }
     if (defined($seed)) {