some code cleanup and php docs
This commit is contained in:
parent
fbb9105e03
commit
3272d79733
|
@ -503,7 +503,7 @@ function auth_quickaclcheck($id) {
|
|||
*
|
||||
* @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 array|null $groups Array of groups the user is in
|
||||
* @return int permission level
|
||||
*/
|
||||
function auth_aclcheck($id, $user, $groups) {
|
||||
|
|
658
inc/common.php
658
inc/common.php
File diff suppressed because it is too large
Load Diff
|
@ -3,7 +3,9 @@
|
|||
* Initialize some defaults needed for DokuWiki
|
||||
*/
|
||||
|
||||
// start timing Dokuwiki execution
|
||||
/**
|
||||
* timing Dokuwiki execution
|
||||
*/
|
||||
function delta_time($start=0) {
|
||||
return microtime(true)-((float)$start);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue