summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/history.php
diff options
context:
space:
mode:
authorSam Tuke <sam@donttravelempty.com>2012-05-11 17:13:58 +0100
committerSam Tuke <sam@donttravelempty.com>2012-05-11 17:13:58 +0100
commitd98d72aa9981063ffc101fc5c89887509c8b2770 (patch)
tree42aef7581cf29aeabc995e76af59870efd588422 /apps/files_versions/history.php
parentc99d7dd94fe53ce3ad6b5b781d8d9f6c868ef2d9 (diff)
downloadnextcloud-server-d98d72aa9981063ffc101fc5c89887509c8b2770.tar.gz
nextcloud-server-d98d72aa9981063ffc101fc5c89887509c8b2770.zip
improved url generation - made use of OC.linkTo() for linking to versions history page
Diffstat (limited to 'apps/files_versions/history.php')
-rwxr-xr-xapps/files_versions/history.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_versions/history.php b/apps/files_versions/history.php
index 4306e416400..59288b6c62d 100755
--- a/apps/files_versions/history.php
+++ b/apps/files_versions/history.php
@@ -54,8 +54,8 @@ if ( isset( $_GET['path'] ) ) {
// show the history only if there is something to show
if( OCA_Versions\Storage::isversioned( $path ) ) {
- $count=999; //show the newest revisions
- $versions=OCA_Versions\Storage::getversions( $path, $count);
+ $count = 999; //show the newest revisions
+ $versions = OCA_Versions\Storage::getversions( $path, $count );
$tmpl->assign( 'versions', array_reverse( $versions ) );