diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-02-20 14:08:02 +0100 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-02-20 14:08:02 +0100 |
commit | 04d68ae4edcddca8a3c30ed4ce6c72d28440a084 (patch) | |
tree | 6c1b7dd0da865559a915fc9de5baa8abddf24751 /inc | |
parent | a537eea188e14c1b947c7690e433b6c7582928e2 (diff) | |
download | rpg-04d68ae4edcddca8a3c30ed4ce6c72d28440a084.tar.gz rpg-04d68ae4edcddca8a3c30ed4ce6c72d28440a084.tar.bz2 |
PHPDocs auth.php
Diffstat (limited to 'inc')
-rw-r--r-- | inc/auth.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/inc/auth.php b/inc/auth.php index 6000ea6d7..8fde129aa 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -845,6 +845,12 @@ function auth_nameencode($name, $skip_group = false) { return $cache[$name][$skip_group]; } +/** + * callback encodes the matches + * + * @param array $matches first complete match, next matching subpatterms + * @return string + */ function auth_nameencode_callback($matches) { return '%'.dechex(ord(substr($matches[1],-1))); } @@ -1075,6 +1081,11 @@ function updateprofile() { return false; } +/** + * Delete the current logged-in user + * + * @return bool true on success, false on any error + */ function auth_deleteprofile(){ global $conf; global $lang; |