splitbrain/dokuwiki — pull request #153 by gturri (2013-01-06 09:31:19+00:00)
Title: 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.