Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-33893 new file api bugs and regressions META
  3. MDL-33897

update() method in stored_file does not reclaim disk space when modifying content

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Inactive
    • Icon: Minor Minor
    • None
    • 2.3
    • Files API
    • None
    • MOODLE_23_STABLE

      When modifying contenthash the old content file MUST be dealt with using $this->fs->deleted_file_cleanup($this->file_record->contenthash);, otherwise the file content may not be deleted when not used.

      I suppose that the problem is triggered in stored_file::set_synchronized()

            Unassigned Unassigned
            skodak Petr Skoda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.