Browse Source

code clean-up

tags/v7.0.0alpha2
Bjoern Schiessle 10 years ago
parent
commit
8d36ddcf03
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      apps/files_versions/ajax/getVersions.php

+ 2
- 1
apps/files_versions/ajax/getVersions.php View File

@@ -5,7 +5,8 @@ $source = $_GET['source'];
$start = $_GET['start'];
list ($uid, $filename) = OCA\Files_Versions\Storage::getUidAndFilename($source);
$count = 5; //show the newest revisions
if( ($versions = OCA\Files_Versions\Storage::getVersions($uid, $filename, $source)) ) {
$versions = OCA\Files_Versions\Storage::getVersions($uid, $filename, $source);
if( $versions ) {

$endReached = false;
if (count($versions) <= $start+$count) {

Loading…
Cancel
Save