some code cleanup and php docs

This commit is contained in:
Andreas Gohr 2012-06-25 19:03:02 +02:00
parent fbb9105e03
commit 3272d79733
3 changed files with 432 additions and 408 deletions

View File

@ -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) {

File diff suppressed because it is too large Load Diff

View File

@ -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);
}