summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-11-25 12:51:32 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2013-11-25 16:51:31 +0100
commitf8fcd567a71bee0e6ccd53315a302f904b2a61a0 (patch)
tree13ff1d95d16add360cb1a4c8806cbb3d3d78e2ad /apps/files_versions
parentde2b4440301badf48e638ede84f64692f2a2db41 (diff)
downloadnextcloud-server-f8fcd567a71bee0e6ccd53315a302f904b2a61a0.tar.gz
nextcloud-server-f8fcd567a71bee0e6ccd53315a302f904b2a61a0.zip
move files to owners trash
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/lib/versions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php
index 661e98b09d5..a1b4b42322e 100644
--- a/apps/files_versions/lib/versions.php
+++ b/apps/files_versions/lib/versions.php
@@ -263,6 +263,7 @@ class Storage {
$versions[$key]['humanReadableTimestamp'] = self::getHumanReadableTimestamp($version);
$versions[$key]['preview'] = \OCP\Util::linkToRoute('core_ajax_versions_preview', array('file' => $filename, 'version' => $version, 'user' => $uid));
$versions[$key]['path'] = $filename;
+ $versions[$key]['name'] = $versionedFile;
$versions[$key]['size'] = $file['size'];
}
}