[LON-CAPA-cvs] cvs: loncom /interface lonquickgrades.pm

matthew lon-capa-cvs@mail.lon-capa.org
Thu, 06 Feb 2003 14:37:34 -0000


matthew		Thu Feb  6 09:37:34 2003 EDT

  Modified files:              
    /loncom/interface	lonquickgrades.pm 
  Log:
  Removed redundant code.
  
  
Index: loncom/interface/lonquickgrades.pm
diff -u loncom/interface/lonquickgrades.pm:1.9 loncom/interface/lonquickgrades.pm:1.10
--- loncom/interface/lonquickgrades.pm:1.9	Fri Dec  6 14:29:28 2002
+++ loncom/interface/lonquickgrades.pm	Thu Feb  6 09:37:34 2003
@@ -77,12 +77,6 @@
     # Keep this hash in sync with %statusIconMap in lonnavmaps; they
     # should match color/icon
     my $res = $navmap->firstResource(); # temp resource to access constants
-
-    if (!defined($navmap)) {
-        my $requrl = $r->uri;
-        $ENV{'user.error.msg'} = "$requrl:bre:0:0:Course not initialized";
-        return HTTP_NOT_ACCEPTABLE;
-    }
  
     # Header
     $r->print(&Apache::loncommon::bodytag('Quick Score Display','',