summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/lib/Controller/ApiController.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php
index 8adc73a0a45..7ce83bfca15 100644
--- a/apps/files/lib/Controller/ApiController.php
+++ b/apps/files/lib/Controller/ApiController.php
@@ -198,8 +198,7 @@ class ApiController extends Controller {
* @return DataResponse
*/
public function getRecentFiles() {
- $since = time() - (60 * 60 * 24 * 7);//1 week
- $nodes = $this->userFolder->getRecent($since);
+ $nodes = $this->userFolder->getRecent(100);
$files = $this->formatNodes($nodes);
return new DataResponse(['files' => $files]);
}