[Pkg-owncloud-commits] [owncloud] 131/223: fix modified date for external shares
David Prévot
taffit at moszumanska.debian.org
Sun Jun 22 01:54:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 49f9b7ea8e59fa6c120a583fbf3fe9efd324c603
Author: Robin Appelman <icewind at owncloud.com>
Date: Fri Jun 13 14:25:45 2014 +0200
fix modified date for external shares
---
apps/files_sharing/ajax/shareinfo.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/apps/files_sharing/ajax/shareinfo.php b/apps/files_sharing/ajax/shareinfo.php
index c576486..e3735dd 100644
--- a/apps/files_sharing/ajax/shareinfo.php
+++ b/apps/files_sharing/ajax/shareinfo.php
@@ -56,12 +56,14 @@ function getChildInfo($dir, $view) {
if ($child->getType() === 'dir') {
$formated['children'] = getChildInfo($child, $view);
}
+ $formated['mtime'] = $formated['mtime'] / 1000;
$result[] = $formated;
}
return $result;
}
$result = \OCA\Files\Helper::formatFileInfo($rootInfo);
+$result['mtime'] = $result['mtime'] / 1000;
if ($rootInfo->getType() === 'dir') {
$result['children'] = getChildInfo($rootInfo, $rootView);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list