Skip to content
Snippets Groups Projects
Commit 04d68ae4 authored by Gerrit Uitslag's avatar Gerrit Uitslag
Browse files

PHPDocs auth.php

parent a537eea1
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment