-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.2
-
MOODLE_402_STABLE
Once the share progress page is implemented (MDL-75502) we will need to perform cleanup of the content. The purpose of the share progress is to notify the user that their draft resource is now available to complete on MoodleNet, or that the share failed so they know to retry. Therefore after the user has seen that a share has either succeeded or failed, we automatically remove the data as it has served its purpose. We do not want to immediately remove data once it is viewed, as they may refresh or click away from the page, so we will flag entries for cleanup, then remove them 24 hours later.
Requirements
- Remove completed progress items 24 hours after they are viewed. Completed items are those in Sent or Failed status. Items viewed that are in progress should not be flagged for cleanup.
- We will need to log when the rows were viewed, to know when to delete them (which will likely require a web service to record this for relevant rows).
- A scheduled task running at regular intervals (eg hourly) to delete the rows from the database when their 24 hours have elapsed.
- is blocked by
-
MDL-75502 Implement share progress page for content shared to MoodleNet
- Closed