X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=mainpage.pl;h=6a0c1af2e9fd38ddb718da006702569965da36b2;hb=66fb80f4362882e82cdcea5caa4341a51d61fb49;hp=cdd6a9ab4479bf803065bc6a601766723c26e8fc;hpb=2d46b42cd60c5a6810207b2c962e98b965b0e1bb;p=koha_gimpoz diff --git a/mainpage.pl b/mainpage.pl index cdd6a9ab44..6a0c1af2e9 100755 --- a/mainpage.pl +++ b/mainpage.pl @@ -17,8 +17,7 @@ # use strict; -require Exporter; - +use warnings; use CGI; use C4::Output; use C4::Auth; @@ -49,16 +48,11 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( authnotrequired => 0, flagsrequired => { catalogue => 1, - circulate => 1, - borrowers => 1, }, } ); -my $marc_p = C4::Context->boolean_preference("marc"); - $template->param( - NOTMARC => !$marc_p, authtypesloop => \@authtypesloop );