update rules
This commit is contained in:
parent
f946ab28dd
commit
6ffed331b1
File diff suppressed because it is too large
Load Diff
11
rules.go
11
rules.go
@ -4,6 +4,17 @@ import (
|
||||
"strconv"
|
||||
)
|
||||
|
||||
func resetMsgParsingRules2() error {
|
||||
_, err := db.Exec(`TRUNCATE TABLE msg_rules;`)
|
||||
failOnError(err, "resetMsgParsingRules2 : truncate table msg_rules")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
}
|
||||
|
||||
func resetMsgParsingRules() {
|
||||
_, err := db.Exec(`TRUNCATE TABLE msg_rules;`)
|
||||
failOnError(err, "resetMsgParsingRules : truncate table msg_rules")
|
||||
|
Loading…
Reference in New Issue
Block a user