summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/exe/xmlrpc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/exe/xmlrpc.php b/lib/exe/xmlrpc.php
index 4666f0b7e..c2805cb01 100644
--- a/lib/exe/xmlrpc.php
+++ b/lib/exe/xmlrpc.php
@@ -654,7 +654,8 @@ class dokuwiki_xmlrpc_server extends IXR_IntrospectionServer {
if(isHiddenPage($logline['id'])) continue;
// check ACL
- if(auth_quickaclcheck($logline['id']) < AUTH_READ) continue;
+ $perms = auth_quickaclcheck($logline['id']);
+ if($perms < AUTH_READ) continue;
// check existance
if((!@file_exists(wikiFN($logline['id']))) && ($flags & RECENTS_SKIP_DELETED)) continue;
@@ -665,6 +666,8 @@ class dokuwiki_xmlrpc_server extends IXR_IntrospectionServer {
$change['lastModified'] = new IXR_Date($logline['date']);
$change['author'] = $logline['user'];
$change['version'] = $logline['date'];
+ $change['perms'] = $perms;
+ $change['size'] = @filesize(wikiFN($logline['id']));
array_push($changes, $change);
} else {
$changes = array_reverse($changes);