diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-02-19 12:28:28 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-02-19 12:46:51 +0100 |
commit | 5ea25a11b206a3776f2f849c9a7f632b35f13223 (patch) | |
tree | 43c8169d6f53aa913b02fd4c37eb0339c1b46e63 /src/json.c | |
parent | abfe81c1fa43e83d4072b19a497bb74047dfd8df (diff) |
rest: delete images that belong to deleted centers
When og_cmd_post_center_delete is invoked by the REST API the
images that contain the same id as the center being deleted are
also deleted.
Move the image deletion functionality into its own function called
og_delete_image to prevent code duplication as it is now required
in og_cmd_post_center_delete and og_cmd_delete_image.
Diffstat (limited to 'src/json.c')
0 files changed, 0 insertions, 0 deletions