nextcloud/apps/files_versions/tests
Vincent Petry 5dbb32fb81
Properly expire ext storage versions (#26601)
* Properly expire ext storage versions

System-wide external storages have no real owner so the current user is
used as owner. However when running cron.php there is no current user,
so no expiry can be done.

This fix adds an user argument to the expire() function to tell for
which user to expire files. This information is anyway always available
now through the expire command job.

* Move version expire setupFS into the expire function

* Add comment about not tearing down in version Storage::expire()

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-03-10 15:58:44 -06:00
..
Command Fix apps/ 2016-07-21 18:13:57 +02:00
Controller More tests 2016-11-03 14:00:33 +01:00
js Fix js tests 2016-11-29 20:48:03 +01:00
ExpirationTest.php Fix apps/ 2016-07-21 18:13:57 +02:00
VersioningTest.php Properly expire ext storage versions (#26601) 2017-03-10 15:58:44 -06:00