jenkins-bot has submitted this change and it was merged.
Change subject: Hygiene: calling is_callable with wrong syntax
......................................................................
Hygiene: calling is_callable with wrong syntax
Change-Id: I768183b06dbb3c9035e571441451bb9ee6e298a7
---
M includes/api/ApiFlow.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Legoktm: Looks good to me, approved
Matthias Mullie: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/api/ApiFlow.php b/includes/api/ApiFlow.php
index 05b78ef..2073c9e 100644
--- a/includes/api/ApiFlow.php
+++ b/includes/api/ApiFlow.php
@@ -61,7 +61,7 @@
$this->dieUsageMsg( array( 'missingparam',
'token' ) );
}
- if ( is_callable( $module, 'validateToken' ) ) {
+ if ( is_callable( array( $module, 'validateToken' ) ) )
{
if ( !$module->validateToken( $params['token'],
$params ) ) {
$this->dieUsageMsg( 'sessionfailure' );
}
--
To view, visit https://gerrit.wikimedia.org/r/165878
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I768183b06dbb3c9035e571441451bb9ee6e298a7
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: SG <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits