some code cleanup and php docs
This commit is contained in:
parent
fbb9105e03
commit
3272d79733
|
@ -501,9 +501,9 @@ function auth_quickaclcheck($id) {
|
|||
*
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*
|
||||
* @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 string $id page ID (needs to be resolved and cleaned)
|
||||
* @param string $user Username
|
||||
* @param array|null $groups Array of groups the user is in
|
||||
* @return int permission level
|
||||
*/
|
||||
function auth_aclcheck($id, $user, $groups) {
|
||||
|
|
830
inc/common.php
830
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