nextcloud/apps
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
..
admin_audit Fix "broken" app descriptions 2017-01-13 18:33:42 +01:00
comments Get the user folder of the correct user 2017-03-09 21:07:37 +01:00
dav Correct incorrectly typed X-OC-Mtime header 2017-03-10 18:16:27 +11:00
encryption [tx-robot] updated from transifex 2017-03-02 16:48:52 +00:00
federatedfilesharing Remove legacy class OC_Group and OC_User 2017-03-09 17:35:09 -06:00
federation add new routes for trusted servers which are more align with the other end-points 2017-03-09 09:54:52 +01:00
files Correct incorrectly typed X-OC-Mtime header 2017-03-10 18:16:27 +11:00
files_external [tx-robot] updated from transifex 2017-03-02 16:48:52 +00:00
files_sharing Remove legacy class OC_Group and OC_User 2017-03-09 17:35:09 -06:00
files_trashbin [tx-robot] updated from transifex 2017-03-02 16:48:52 +00:00
files_versions Properly expire ext storage versions (#26601) 2017-03-10 15:58:44 -06:00
lookup_server_connector add posibility to remove all personal data from lookup server 2017-02-23 12:27:24 +01:00
provisioning_api OCS API endpoint to resend welcome message 2017-02-28 16:30:33 -06:00
sharebymail [tx-robot] updated from transifex 2017-03-02 16:48:52 +00:00
systemtags [tx-robot] updated from transifex 2017-03-08 01:07:47 +00:00
testing Testing app switch to force-enable test user backend 2016-12-23 12:38:04 +01:00
theming [tx-robot] updated from transifex 2017-03-10 01:08:01 +00:00
twofactor_backupcodes [tx-robot] updated from transifex 2017-03-10 01:08:01 +00:00
updatenotification [tx-robot] updated from transifex 2017-03-10 01:08:01 +00:00
user_ldap Remove legacy class OC_Group and OC_User 2017-03-09 17:35:09 -06:00
workflowengine [tx-robot] updated from transifex 2017-03-10 01:08:01 +00:00