From ae70fb34464d114835d186600cb75fcb37748026 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 20 May 2020 17:12:56 +0200 Subject: [PATCH] Bug 25411: Group conditions in if elsif Signed-off-by: Jonathan Druart --- Koha/REST/V1/Auth.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Koha/REST/V1/Auth.pm b/Koha/REST/V1/Auth.pm index 481b081010..a4bb7ae233 100644 --- a/Koha/REST/V1/Auth.pm +++ b/Koha/REST/V1/Auth.pm @@ -69,9 +69,7 @@ sub under { if ( $namespace eq 'public' ) { $is_public = 1; - } - - if ( $namespace eq 'contrib' ) { + } elsif ( $namespace eq 'contrib' ) { $is_plugin = 1; } -- 2.20.1