mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
Remove some dead code
This commit is contained in:
parent
6cf5be6ff1
commit
3c4e132774
@ -1,6 +1,5 @@
|
||||
module Handler.StackageHome where
|
||||
|
||||
import Data.BlobStore (storeExists)
|
||||
import Import
|
||||
import Data.Time (FormatTime)
|
||||
import Data.Slug (SnapSlug)
|
||||
@ -13,7 +12,6 @@ getStackageHomeR slug = do
|
||||
Entity _ stackage <- getBy404 $ UniqueSnapshot slug
|
||||
return stackage
|
||||
|
||||
hasBundle <- storeExists $ SnapshotBundle $ stackageIdent stackage
|
||||
let minclusive =
|
||||
if "inclusive" `isSuffixOf` stackageTitle stackage
|
||||
then Just True
|
||||
|
||||
Loading…
Reference in New Issue
Block a user