Home
last modified time | relevance | path

Searched hist:def492a2d77af9effca204483b570061202cda5b (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/inc/
H A Dauth.phpdef492a2d77af9effca204483b570061202cda5b Sun Jan 06 09:18:17 UTC 2013 Guillaume Turri <guillaume.turri@gmail.com> Made auth_aclcheck always return int

The returned type is important in particular when we deal with xmlrpc. Indeed,
this value is directly returned to the client eg when the wiki.getAllPages method
is queried.

Currently the 'perms' attribute may be either an int or a string, and its up to
the xmlrpc client to resolve it (although Dokuwiki's documentation only tells it
can be an int).

This patch makes sure we'll always return perms as int.