mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Delete Contents from (e)QSL-Tables, too
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user