Refactor the admin/store code

This commit is contained in:
Las Zenow 2012-10-28 17:22:23 +01:00
parent 85111946ed
commit 2e043af31a
3 changed files with 24 additions and 14 deletions

View file

@ -18,7 +18,7 @@ func storeFiles(r *http.Request) ([]string, error) {
}
defer file.Close()
path, err := StoreFile(f.Filename, file)
path, err := StoreNewFile(f.Filename, file)
if err != nil {
return paths, err
}