diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-09-29 03:34:17 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-09-29 03:34:17 +0200 |
commit | e0c26282a603881e8d2f839d94c28dbbfc57d71b (patch) | |
tree | b6b4b7d04d4abc5c6a5121225aefd518d778712b /lib/plugins/authmysql/auth.php | |
parent | da9572711f54d13ce3c5506971154b0bc359723f (diff) | |
download | rpg-e0c26282a603881e8d2f839d94c28dbbfc57d71b.tar.gz rpg-e0c26282a603881e8d2f839d94c28dbbfc57d71b.tar.bz2 |
scrutinizer documentations issues
Diffstat (limited to 'lib/plugins/authmysql/auth.php')
-rw-r--r-- | lib/plugins/authmysql/auth.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/plugins/authmysql/auth.php b/lib/plugins/authmysql/auth.php index 95c62f636..176eac679 100644 --- a/lib/plugins/authmysql/auth.php +++ b/lib/plugins/authmysql/auth.php @@ -284,7 +284,7 @@ class auth_plugin_authmysql extends DokuWiki_Auth_Plugin { $grpdel = array_diff($groups, $changes['grps']); foreach($grpadd as $group) { - if(($this->_addUserToGroup($user, $group, 1)) == false) { + if(($this->_addUserToGroup($user, $group, true)) == false) { $rc = false; } } @@ -612,7 +612,7 @@ class auth_plugin_authmysql extends DokuWiki_Auth_Plugin { if($uid) { foreach($grps as $group) { - $gid = $this->_addUserToGroup($user, $group, 1); + $gid = $this->_addUserToGroup($user, $group, true); if($gid === false) break; } @@ -777,7 +777,6 @@ class auth_plugin_authmysql extends DokuWiki_Auth_Plugin { * * @param string $user user's nick being updated * @param array $changes array of items to change as pairs of item and value - * @param mixed $uid user id of dataset to change, must be unique in DB * @return bool true on success or false on error * * @author Matthias Grimm <matthiasgrimm@users.sourceforge.net> |