-
- Downloads
Keep shared locks in post hooks
Instead of unlocking after the file operation, change exclusive locks back to shared locks during post hooks, and unlock after that. Also added unit tests to test locking in pre-hooks, during operation and post-hooks.
Showing
- lib/private/files/config/mountprovidercollection.php 9 additions, 0 deletionslib/private/files/config/mountprovidercollection.php
- lib/private/files/storage/temporary.php 1 addition, 1 deletionlib/private/files/storage/temporary.php
- lib/private/files/view.php 20 additions, 20 deletionslib/private/files/view.php
- tests/files/file_put_contents.txt 0 additions, 0 deletionstests/files/file_put_contents.txt
- tests/lib/files/view.php 623 additions, 1 deletiontests/lib/files/view.php
- tests/lib/testcase.php 5 additions, 3 deletionstests/lib/testcase.php
- tests/lib/testmoveablemountpoint.php 49 additions, 0 deletionstests/lib/testmoveablemountpoint.php
Loading
Please register or sign in to comment