Addshore has uploaded a new change for review.
https://gerrit.wikimedia.org/r/154625
Change subject: Use public instead of var in classes
......................................................................
Use public instead of var in classes
Change-Id: I561332b236d0e11ac5c7752b5f6b411baa5fcd18
---
M LdapAuthentication.php
1 file changed, 10 insertions(+), 10 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LdapAuthentication
refs/changes/25/154625/1
diff --git a/LdapAuthentication.php b/LdapAuthentication.php
index ae0d82a..5b258fc 100644
--- a/LdapAuthentication.php
+++ b/LdapAuthentication.php
@@ -131,32 +131,32 @@
class LdapAuthenticationPlugin extends AuthPlugin {
// ldap connection resource
- var $ldapconn;
+ public $ldapconn;
// preferences
- var $email, $lang, $realname, $nickname, $externalid;
+ public $email, $lang, $realname, $nickname, $externalid;
// username pulled from ldap
- var $LDAPUsername;
+ public $LDAPUsername;
// userdn pulled from ldap
- var $userdn;
+ public $userdn;
// groups pulled from ldap
- var $userLDAPGroups;
- var $allLDAPGroups;
+ public $userLDAPGroups;
+ public $allLDAPGroups;
// boolean to test for failed auth
- var $authFailed;
+ public $authFailed;
// boolean to test for fetched user info
- var $fetchedUserInfo;
+ public $fetchedUserInfo;
// the user's entry and all attributes
- var $userInfo;
+ public $userInfo;
// the user we are currently bound as
- var $boundAs;
+ public $boundAs;
/**
* Wrapper for ldap_connect
--
To view, visit https://gerrit.wikimedia.org/r/154625
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I561332b236d0e11ac5c7752b5f6b411baa5fcd18
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LdapAuthentication
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits