Anomie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/324765

Change subject: ScopedCallback takes an array of parameters, not varargs-style
......................................................................

ScopedCallback takes an array of parameters, not varargs-style

Change-Id: I4d160241aa35da132205aa7fe324fbab5a78f4ec
---
M LdapPrimaryAuthenticationProvider.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LdapAuthentication 
refs/changes/65/324765/1

diff --git a/LdapPrimaryAuthenticationProvider.php 
b/LdapPrimaryAuthenticationProvider.php
index 149a219..a3bcf6b 100644
--- a/LdapPrimaryAuthenticationProvider.php
+++ b/LdapPrimaryAuthenticationProvider.php
@@ -90,7 +90,7 @@
                }
 
                $ldap->setDomain( $domain );
-               return new ScopedCallback( [ $ldap, 'setDomain' ], $oldDomain );
+               return new ScopedCallback( [ $ldap, 'setDomain' ], [ $oldDomain 
] );
        }
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/324765
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4d160241aa35da132205aa7fe324fbab5a78f4ec
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LdapAuthentication
Gerrit-Branch: master
Gerrit-Owner: Anomie <bjor...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to