You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as discussed, I am re-using your template management code from this plugin in theme_boost_union. During the adoption of the existing code, I became aware that an uploaded template file might not be removed from the filearea when a template is deleted in the GUI.
You might want to double-check if you need to remove the file from the filearea during the template deletion and if you do, you will need to write a plugin update step which removes all orphaned files which might existing in plugin installations.
The text was updated successfully, but these errors were encountered:
Hi Stefan,
as discussed, I am re-using your template management code from this plugin in theme_boost_union. During the adoption of the existing code, I became aware that an uploaded template file might not be removed from the filearea when a template is deleted in the GUI.
The code are which is handling the template deletion is at https://github.com/bdecentgmbh/moodle-format_kickstart/blob/master/template.php#L131-L152, but there isn't any code which removes the file from the filearea.
You might want to double-check if you need to remove the file from the filearea during the template deletion and if you do, you will need to write a plugin update step which removes all orphaned files which might existing in plugin installations.
The text was updated successfully, but these errors were encountered: