Bug 28785: Adjust check_cookie_auth calls
[srvgit] / authorities / ysearch.pl
index fc3d51f..3a58fe9 100755 (executable)
@@ -40,7 +40,7 @@ use Koha::SearchEngine::QueryBuilder;
 
 my $query = CGI->new;
 
-my ( $auth_status, $sessionID ) = check_cookie_auth( $query->cookie('CGISESSID'), { catalogue => 1 } );
+my ( $auth_status) = check_cookie_auth( $query->cookie('CGISESSID'), { catalogue => 1 } );
 
 if ( $auth_status ne "ok" ) {
     # send empty response