nextcloud/apps/files_versions/lib
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
..
AppInfo Fix apps/ 2016-07-21 18:13:57 +02:00
BackgroundJob introduce callForSeenUsers and countSeenUsers (#26361) 2016-10-28 08:44:05 +02:00
Command Properly expire ext storage versions (#26601) 2017-03-10 15:58:44 -06:00
Controller More tests 2016-11-03 14:00:33 +01:00
Capabilities.php Fix apps/ 2016-07-21 18:13:57 +02:00
Expiration.php Fix apps/ 2016-07-21 18:13:57 +02:00
Hooks.php Update with robin 2016-07-21 18:13:58 +02:00
Storage.php Properly expire ext storage versions (#26601) 2017-03-10 15:58:44 -06:00