--- loncom/interface/lonaboutme.pm 2006/10/23 18:48:46 1.57 +++ loncom/interface/lonaboutme.pm 2006/12/09 23:33:55 1.58 @@ -1,7 +1,7 @@ # The LearningOnline Network # "About Me" Personal Information # -# $Id: lonaboutme.pm,v 1.57 2006/10/23 18:48:46 albertel Exp $ +# $Id: lonaboutme.pm,v 1.58 2006/12/09 23:33:55 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -57,7 +57,7 @@ sub handler { 'No user information available'); return OK; } else { - $is_course = &check_for_course($cdom,$cnum); + $is_course = &is_course($cdom,$cnum); } # --------------------------------------------------------- The syllabus fields @@ -629,15 +629,5 @@ sub parse_directory { return $output; } -sub check_for_course { - my ($cdom,$cnum) = @_; - my %courses = &Apache::lonnet::courseiddump($cdom,'.',1,'.','.',$cnum,undef, - undef,'.'); - if (exists($courses{$cdom.'_'.$cnum})) { - return 1; - } - return 0; -} - 1; __END__