remove duplicate action type
This commit is contained in:
parent
18ebe6e107
commit
371ed945ce
1 changed files with 0 additions and 16 deletions
|
|
@ -2,22 +2,6 @@ include Bindings
|
||||||
include Babillard
|
include Babillard
|
||||||
open Db
|
open Db
|
||||||
|
|
||||||
type moderation_action =
|
|
||||||
| Ignore
|
|
||||||
| Delete
|
|
||||||
| Banish
|
|
||||||
|
|
||||||
let moderation_action_to_string = function
|
|
||||||
| Ignore -> "ignore"
|
|
||||||
| Delete -> "delete"
|
|
||||||
| Banish -> "banish"
|
|
||||||
|
|
||||||
let moderation_action_from_string = function
|
|
||||||
| "ignore" -> Some Ignore
|
|
||||||
| "delete" -> Some Delete
|
|
||||||
| "banish" -> Some Banish
|
|
||||||
| _ -> None
|
|
||||||
|
|
||||||
let pp_post fmt t =
|
let pp_post fmt t =
|
||||||
let thread_data_opt, post =
|
let thread_data_opt, post =
|
||||||
match t with
|
match t with
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue