diff options
author | Sam Tuke <samtuke@owncloud.com> | 2012-05-16 14:56:37 +0100 |
---|---|---|
committer | Sam Tuke <samtuke@owncloud.com> | 2012-05-16 15:00:36 +0100 |
commit | c0df40084a190c3f5b87efdd11b13af42b46fef4 (patch) | |
tree | 483f9733a07c78842c8b7d5dc6982eb21e80706a /apps/files_versions/history.php | |
parent | a00c5ac78ccbd581ba043d173d3f85aaf21b03dd (diff) | |
download | nextcloud-server-c0df40084a190c3f5b87efdd11b13af42b46fef4.tar.gz nextcloud-server-c0df40084a190c3f5b87efdd11b13af42b46fef4.zip |
added recognition of which version is 'current' - which is currently live and in use on history page
Diffstat (limited to 'apps/files_versions/history.php')
-rwxr-xr-x | apps/files_versions/history.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_versions/history.php b/apps/files_versions/history.php index 4306e416400..7c03ef0e5e1 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 ) ); |