Moodle

Deleting files from deleted courses

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Files API
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

I just tested what happens with course files if the course is deleted. I found that a file added to the course is not yet deleted.

In old course related file handling this was ok, because I could delete the folder manually, but this is in 2.0 not possible. This will be a huge problem for larger systems because they get a growing files folder in data.

Activity

Hide
Petr Škoda (skodak) added a comment -

Should be already fixed, we are deleting all context files when the course context gets deleted.
The purging of file content files is a bit delayed.

thanks for the report.

Show
Petr Škoda (skodak) added a comment - Should be already fixed, we are deleting all context files when the course context gets deleted. The purging of file content files is a bit delayed. thanks for the report.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: