This commit is contained in:
nek0 2015-01-14 20:15:13 +01:00
parent c777812ddd
commit 312e9831e2

View file

@ -100,7 +100,7 @@ getAdminMediumDeleteR mediumId = do
runDB $ delete mediumId
-- delete files
liftIO $ removeFile (normalise $ tail $ mediumPath medium)
liftIO $ removeFile (normalise $ tail $ mediumPath medium)
liftIO $ removeFile (normalise $ tail $ mediumThumb medium)
-- outro
setMessage "Medium deleted successfully"
redirect $ AdminR