summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-02-20 14:08:02 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-02-20 14:08:02 +0100
commit04d68ae4edcddca8a3c30ed4ce6c72d28440a084 (patch)
tree6c1b7dd0da865559a915fc9de5baa8abddf24751 /inc/auth.php
parenta537eea188e14c1b947c7690e433b6c7582928e2 (diff)
downloadrpg-04d68ae4edcddca8a3c30ed4ce6c72d28440a084.tar.gz
rpg-04d68ae4edcddca8a3c30ed4ce6c72d28440a084.tar.bz2
PHPDocs auth.php
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php11
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;