Compare commits

..

No commits in common. "f6dedc6f101a3a8cfdf3ebb80e047811cfbc5585" and "cdf0a49550d3a9ee53a3fa8c1a67a3ee895bdfd7" have entirely different histories.

View File

@ -620,12 +620,6 @@ func DeleteArticle(c *b.Config, db *b.DB, s *b.CookieStore) http.HandlerFunc {
return
}
if err = os.Remove(fmt.Sprint(c.ArticleDir, "/", id, ".md")); err != nil {
log.Println(err)
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
feed, err := b.GenerateRSS(c, db)
if err != nil {
log.Println(err)