Cleanup job for system and user tag orphaned when file was deleted
Whenever a file was deleted (also from trash), the tag mapping is pointing at a fileid that doesn't exist any more. This cleanup job will delete such orphaned mapping entries.
Showing
- apps/files/appinfo/info.xml 1 addition, 1 deletionapps/files/appinfo/info.xml
- apps/files/appinfo/install.php 2 additions, 4 deletionsapps/files/appinfo/install.php
- apps/files/appinfo/update.php 2 additions, 12 deletionsapps/files/appinfo/update.php
- apps/files/lib/backgroundjob/deleteorphanedtagsjob.php 105 additions, 0 deletionsapps/files/lib/backgroundjob/deleteorphanedtagsjob.php
- apps/files/tests/backgroundjob/DeleteOrphanedTagsJobTest.php 158 additions, 0 deletionsapps/files/tests/backgroundjob/DeleteOrphanedTagsJobTest.php
Loading
Please register or sign in to comment