Bug 4935: fix for allowing authorized values to be "unset"
[koha.git] / mainpage.pl
index cdd6a9a..6a0c1af 100755 (executable)
@@ -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
 );