Skip to content
Unverified Commit 5dbb32fb authored by Vincent Petry's avatar Vincent Petry Committed by Morris Jobke
Browse files

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: default avatarLukas Reschke <lukas@statuscode.ch>
parent a10476a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment