diff options
author | Stefan Weil <sw@weilnetz.de> | 2016-04-12 12:52:51 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-04-12 12:52:51 +0200 |
commit | 16df1c5188d5a312ef5db7db427961597fe56ebe (patch) | |
tree | d95646f164a789d9e6f1b354b9a6472acb72f53f /apps/files_sharing/ajax/shareinfo.php | |
parent | fdee771aca39f394c940edfcaa5a15826b078974 (diff) | |
download | nextcloud-server-16df1c5188d5a312ef5db7db427961597fe56ebe.tar.gz nextcloud-server-16df1c5188d5a312ef5db7db427961597fe56ebe.zip |
apps: Fix typos (found by codespell) (#23862)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'apps/files_sharing/ajax/shareinfo.php')
-rw-r--r-- | apps/files_sharing/ajax/shareinfo.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/ajax/shareinfo.php b/apps/files_sharing/ajax/shareinfo.php index e531e84ebbc..e15e12fd287 100644 --- a/apps/files_sharing/ajax/shareinfo.php +++ b/apps/files_sharing/ajax/shareinfo.php @@ -71,12 +71,12 @@ function getChildInfo($dir, $view) { $children = $view->getDirectoryContent($dir->getPath()); $result = array(); foreach ($children as $child) { - $formated = \OCA\Files\Helper::formatFileInfo($child); + $formatted = \OCA\Files\Helper::formatFileInfo($child); if ($child->getType() === 'dir') { - $formated['children'] = getChildInfo($child, $view); + $formatted['children'] = getChildInfo($child, $view); } - $formated['mtime'] = $formated['mtime'] / 1000; - $result[] = $formated; + $formatted['mtime'] = $formatted['mtime'] / 1000; + $result[] = $formatted; } return $result; } |