Smuggli has submitted this change and it was merged.
Change subject: BsValidator: Fixed warning
......................................................................
BsValidator: Fixed warning
* removed 3rd parameter from implode function
Change-Id: Icc1f62ea5d344699b831a247f2d2caeeab5e7397
---
M includes/validator/Validator.class.php
1 file changed, 1 insertion(+), 2 deletions(-)
Approvals:
Smuggli: Verified; Looks good to me, approved
diff --git a/includes/validator/Validator.class.php
b/includes/validator/Validator.class.php
index 247f785..6cf61cd 100644
--- a/includes/validator/Validator.class.php
+++ b/includes/validator/Validator.class.php
@@ -304,9 +304,8 @@
class BsValidatorSetItemPlugin implements BsValidatorPlugin {
public static function isValid( $validateThis, $options ) {
- $iCount = count( $options['set'] );
return ( !in_array( $validateThis , $options['set'] ) )
- ? new BsValidatorResponse( 1, 'Validator',
'bs-validator-set-validation-not-approved', array( $options['setname'],
implode( ',', $options['set'], $iCount ) ) )
+ ? new BsValidatorResponse( 1, 'Validator',
'bs-validator-set-validation-not-approved', array( $options['setname'],
implode( ',', $options['set'] ) ) )
: new BsValidatorResponse( 0, 'Validator',
'bs-validator-set-validation-approved', array( $options['setname']) );
}
--
To view, visit https://gerrit.wikimedia.org/r/170016
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icc1f62ea5d344699b831a247f2d2caeeab5e7397
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Pwirth <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pigpen <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: Smuggli <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits