From 211722fd754b1439b2df49453da82628a079e584 Mon Sep 17 00:00:00 2001 From: sergem Date: Tue, 15 Dec 2009 08:50:11 +0200 Subject: [PATCH] When getting the version history, I have added the date of the version change to the array being returned as it is needed for the activity feed in Explorer CP. --- ktapi/KTAPIDocument.inc.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/ktapi/KTAPIDocument.inc.php b/ktapi/KTAPIDocument.inc.php index 88756e2..fae4757 100644 --- a/ktapi/KTAPIDocument.inc.php +++ b/ktapi/KTAPIDocument.inc.php @@ -2211,6 +2211,7 @@ class KTAPI_Document extends KTAPI_FolderItem $version['user'] = $username; $version['metadata_version'] = $document->getMetadataVersion(); $version['content_version'] = $document->getVersion(); + $version['datetime'] = $document->getVersionCreated(); if ($wsversion >= 2) { $version['metadata_version'] = (int) $version['metadata_version']; -- libgit2 0.21.4