Delete Contents from (e)QSL-Tables, too

This commit is contained in:
int2001
2024-04-04 09:29:27 +00:00
parent 09902d298a
commit 44477dc67c
2 changed files with 2 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ class Eqsl_images extends CI_Model {
}
$image=$this->get_imagePath('p',$row->user_id).'/'.$row->image_file;
unlink($image);
$this->db->delete('eQSL_images', array('id' => $row->id));
return $image;
}
}

View File

@@ -62,6 +62,7 @@ class Qsl_model extends CI_Model {
}
$image=$this->get_imagePath('p',$row->user_id).'/'.$row->filename;
unlink($image);
$this->db->delete('qsl_images', array('id' => $row->id));
}
}