API: legacy compatibility fix

wiki.getAllPages and dokuwiki.getPagelist differed in how the last
modification timestamp was communicated.

This should fix splitbrain/dokuwiki-plugin-sync#70
This commit is contained in:
Andreas Gohr 2024-02-09 12:57:14 +01:00
parent d602927bd9
commit 1418a776f1
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ class LegacyApiCore extends ApiCore
'perms' => $page->permission,
'size' => $page->size,
'rev' => $page->revision,
'lastModified' => $this->toDate($page->revision),
'mtime' => $page->revision,
'hash' => $page->hash,
];