Remove dependencies from new/ foder

This commit is contained in:
Las Zenow 2013-04-12 01:44:00 +02:00
parent 6971028b9e
commit 49f824802b
4 changed files with 11 additions and 12 deletions

View file

@ -172,11 +172,6 @@ func newHandler(w http.ResponseWriter, r *http.Request) {
return
}
if len(r.URL.Path) > len("/new/") {
http.ServeFile(w, r, NEW_PATH+r.URL.Path[len("/new/"):])
return
}
err := r.ParseForm()
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)