fix modified date for external shares

remotes/origin/ldap_group_count
Robin Appelman 12 years ago committed by Bjoern Schiessle
parent 455fbafb48
commit 49f9b7ea8e
  1. 2
      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);
}

Loading…
Cancel
Save