mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 14:08:42 +00:00
fix(web/blog/delete): remove solutions when delete blog
This commit is contained in:
parent
9b691606d1
commit
352642b06c
@ -273,4 +273,5 @@ function deleteBlog($id) {
|
||||
DB::delete("delete from blogs_comments where blog_id = $id");
|
||||
DB::delete("delete from important_blogs where blog_id = $id");
|
||||
DB::delete("delete from blogs_tags where blog_id = $id");
|
||||
DB::delete("DELETE FROM problems_solutions WHERE blog_id = $id");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user