Bug 7057: CheckReserves uses GetMemberDetails unnecessarily
[koha.git] / mainpage.pl
index cdd6a9a..25ee475 100755 (executable)
@@ -1,5 +1,8 @@
 #!/usr/bin/perl
 
+# Copyright Paul Poulain 2002
+# Parts Copyright Liblime 2007
+#
 # This file is part of Koha.
 #
 # Koha is free software; you can redistribute it and/or modify it under the
@@ -17,8 +20,7 @@
 #
 
 use strict;
-require Exporter;
-
+use warnings;
 use CGI;
 use C4::Output;
 use C4::Auth;
@@ -49,16 +51,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
 );