Bug 24488: Simplify searches
[srvgit] / circ / circulation-home.pl
index 1d08a03..f68535d 100755 (executable)
@@ -24,13 +24,12 @@ use C4::Context;
 use Koha::BiblioFrameworks;
 use Koha::Checkouts;
 
-my $query = new CGI;
+my $query = CGI->new;
 my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user(
     {
         template_name   => "circ/circulation-home.tt",
         query           => $query,
         type            => "intranet",
-        authnotrequired => 0,
         flagsrequired   => { circulate => "circulate_remaining_permissions" },
     }
 );