Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
🚀
This server has been upgraded to GitLab release
15.7
.
🚀
Open sidebar
GIP RENATER
switch-wayf
Commits
390ae84c
Commit
390ae84c
authored
Mar 27, 2015
by
haemmer
Browse files
Improved log message when metadata is parsed
parent
f776ede5
Changes
1
Hide whitespace changes
Inline
Side-by-side
readMetadata.php
View file @
390ae84c
...
...
@@ -273,13 +273,10 @@ function parseMetadata($metadataFile, $defaultLanguage){
}
// Output result
$infoMsg
=
"Successfully parsed metadata file "
.
$metadataFile
.
"
\n
"
;
$infoMsg
.
=
"Added "
.
count
(
$metadataIDProviders
)
.
" IdPs and "
.
count
(
$metadataSProviders
)
.
" SPs."
;
if
(
!
isset
(
$supportHideFromDiscoveryEntityCategory
)
||
$supportHideFromDiscoveryEntityCategory
){
$infoMsg
.
=
" "
.
$hiddenIdPs
.
" hidden IdPs were not added."
;
}
else
{
$infoMsg
.
=
' Potentially hidden IdPs were also added because $supportHideFromDiscoveryEntityCategory is false.'
;
}
$infoMsg
=
"Successfully parsed metadata file "
.
$metadataFile
.
" "
;
$infoMsg
.
=
"("
.
count
(
$metadataIDProviders
)
.
" IdPs, "
;
$infoMsg
.
=
" "
.
count
(
$metadataSProviders
)
.
" SPs, "
;
$infoMsg
.
=
(
$hiddenIdPs
>
0
)
?
$hiddenIdPs
.
" IdPs are hidden)"
:
"no hidden IdPs)"
;
if
(
isRunViaCLI
()){
echo
$infoMsg
.
"
\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment