--- loncom/auth/publiccheck.pm 2013/12/13 01:34:38 1.22 +++ loncom/auth/publiccheck.pm 2013/12/13 02:10:27 1.23 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: publiccheck.pm,v 1.22 2013/12/13 01:34:38 raeburn Exp $ +# $Id: publiccheck.pm,v 1.23 2013/12/13 02:10:27 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -44,16 +44,10 @@ sub handler { my $requrl=$r->uri; if (&Apache::lonnet::is_domainimage($requrl)) { - if (($r->user() eq '') && ($Apache::lonnet::apache >= 2.4)) { - $r->user('public'); - } return OK; } if ($requrl =~ m{^/res/adm/pages/[^/]+\.(gif|png)$}) { - if (($r->user() eq '') && ($Apache::lonnet::apache >= 2.4)) { - $r->user('public'); - } return OK; }