--- loncom/interface/lonwhatsnew.pm 2016/08/07 02:06:00 1.105.2.11 +++ loncom/interface/lonwhatsnew.pm 2013/07/04 16:35:12 1.113 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.105.2.11 2016/08/07 02:06:00 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.113 2013/07/04 16:35:12 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -598,10 +598,6 @@ sub display_actions_box { if ($needitems) { $itemserror = &getitems(\%unread,\%ungraded,\%bombed,\%triggered,\%changed,\@newdiscussions,\@tograde,\@bombs,\@warnings,\%threshold,$cdom,$crs,\%res_title,\%show,$starttime,$countunread); } - my $classlist; - if ($show{'oldroles'} || $show{'newroles'} || $show{'crslogin'}) { - $classlist = &Apache::loncoursedata::get_classlist(); - } if ($show{'coursenormalmail'}) { $msgcount = &getnormalmail(\@newmsgs); } @@ -609,10 +605,10 @@ sub display_actions_box { $critmsgcount = &getcritmail(\@critmsgs); } if ($show{'oldroles'}) { - $expirecount = &getexpired(\%expired,$expiredstart,'previous',$classlist); + $expirecount = &getexpired(\%expired,$expiredstart,'previous'); } if ($show{'newroles'}) { - $activecount = &getactivated(\%activated,$activatedstart,'active',$classlist); + $activecount = &getactivated(\%activated,$activatedstart,'active'); } if ($show{'crslogin'}) { $logincount = &getloggedin($cdom,$crs,\%loggedin,$crsloginstart); @@ -645,7 +641,7 @@ sub display_actions_box { if ($displayed == $halfway) { $r->print('