[LON-CAPA-cvs] cvs: modules /msu/sentinel sentinelonly.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Thu, 27 Sep 2007 23:23:34 -0000


raeburn		Thu Sep 27 19:23:34 2007 EDT

  Modified files:              
    /modules/msu/sentinel	sentinelonly.pm 
  Log:
  $Apache::lonnet::domindescription() no longer exists.
  
  
Index: modules/msu/sentinel/sentinelonly.pm
diff -u modules/msu/sentinel/sentinelonly.pm:1.2 modules/msu/sentinel/sentinelonly.pm:1.3
--- modules/msu/sentinel/sentinelonly.pm:1.2	Thu Mar  1 14:44:20 2007
+++ modules/msu/sentinel/sentinelonly.pm	Thu Sep 27 19:23:32 2007
@@ -2,7 +2,7 @@
 # is successful but there is no corresponding account in the 
 # MSU LON-CAPA domain.
 #
-# $Id: sentinelonly.pm,v 1.2 2007/03/01 19:44:20 raeburn Exp $
+# $Id: sentinelonly.pm,v 1.3 2007/09/27 23:23:32 raeburn Exp $
 # 
 # Copyright Michigan State University Board of Trustees
 #
@@ -52,7 +52,7 @@
 
     my $username = $r->subprocess_env->get('REDIRECT_SSOUserUnknown');
     my $domain = $r->subprocess_env->get('REDIRECT_SSOUserDomain');
-    my $domdesc = $Apache::lonnet::domaindescription{$domain};
+    my $domdesc = &Apache::lonnet::domain($domain,'description');
 
     if ($domain ne 'msu') {
         $r->print(&mt("Information about a user's course enrollments in LON-CAPA-enabled courses, is displayed here following successful Sentinel authentication, when the user does not have an account in the msu domain in LON-CAPA.").'<br />'.&mt('You appear to have reached this page in some other way.')};