Bug 17776: (QA follow-up) Remove shibboleth package variables
[koha.git] / C4 / Auth_with_shibboleth.pm
index 480d5d8..0ff0d25 100644 (file)
@@ -171,7 +171,7 @@ sub _get_shib_config {
     my $config = C4::Context->config('shibboleth');
 
     if ( !$config ) {
-        carp 'shibboleth config not defined';
+        carp 'shibboleth config not defined' if $debug;
         return 0;
     }