diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2014-03-02 21:00:08 +0000 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2014-03-02 21:00:08 +0000 |
commit | f327a5f0a9ef72e6dd79d9d200f81c330aa4903c (patch) | |
tree | 2d2a398218964e3bee0876385f9c8786a3baf8de /inc/auth.php | |
parent | 446b5b5934799f1f906ea8903b1e96c981f1c1b2 (diff) | |
parent | 709fd92548efedbd4b4e5693097165d1dff072e4 (diff) | |
download | rpg-f327a5f0a9ef72e6dd79d9d200f81c330aa4903c.tar.gz rpg-f327a5f0a9ef72e6dd79d9d200f81c330aa4903c.tar.bz2 |
Merge branch 'master' into FS#2388
Diffstat (limited to 'inc/auth.php')
-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; |