Remove unused code

This commit is contained in:
Eike Kettner 2021-05-25 00:09:22 +02:00
parent 25788a0b23
commit 414ffba453

View File

@ -51,7 +51,6 @@ module Api exposing
, getJobQueueState , getJobQueueState
, getJobQueueStateIn , getJobQueueStateIn
, getMailSettings , getMailSettings
, getNewUi
, getNotifyDueItems , getNotifyDueItems
, getOrgFull , getOrgFull
, getOrgLight , getOrgLight
@ -124,7 +123,6 @@ module Api exposing
, startOnceScanMailbox , startOnceScanMailbox
, startReIndex , startReIndex
, submitNotifyDueItems , submitNotifyDueItems
, toggleNewUi
, toggleTags , toggleTags
, unconfirmMultiple , unconfirmMultiple
, updateNotifyDueItems , updateNotifyDueItems
@ -1982,25 +1980,6 @@ getItemProposals flags item receive =
} }
toggleNewUi : Flags -> (Result Http.Error BasicResult -> msg) -> Cmd msg
toggleNewUi flags receive =
Http2.authPost
{ url = flags.config.baseUrl ++ "/api/v1/sec/newui"
, account = getAccount flags
, body = Http.emptyBody
, expect = Http.expectJson receive Api.Model.BasicResult.decoder
}
getNewUi : Flags -> (Result Http.Error BasicResult -> msg) -> Cmd msg
getNewUi flags receive =
Http2.authGet
{ url = flags.config.baseUrl ++ "/api/v1/sec/newui"
, account = getAccount flags
, expect = Http.expectJson receive Api.Model.BasicResult.decoder
}
--- Helper --- Helper