summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-06-25 19:03:02 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-06-25 19:03:02 +0200
commit3272d797334d9d13a4e4ca43351b1607bb520445 (patch)
tree702f353ebc6ec14b43e74d7d8f476e6e6161e2d3 /inc/auth.php
parentfbb9105e038726f81bd25f31893ef38fe7f06530 (diff)
downloadrpg-3272d797334d9d13a4e4ca43351b1607bb520445.tar.gz
rpg-3272d797334d9d13a4e4ca43351b1607bb520445.tar.bz2
some code cleanup and php docs
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/auth.php b/inc/auth.php
index dc1fc5b32..d0f21c825 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -501,9 +501,9 @@ function auth_quickaclcheck($id) {
*
* @author Andreas Gohr <andi@splitbrain.org>
*
- * @param string $id page ID (needs to be resolved and cleaned)
- * @param string $user Username
- * @param array $groups Array of groups the user is in
+ * @param string $id page ID (needs to be resolved and cleaned)
+ * @param string $user Username
+ * @param array|null $groups Array of groups the user is in
* @return int permission level
*/
function auth_aclcheck($id, $user, $groups) {