update
This commit is contained in:
+1
-2
@@ -48,10 +48,9 @@ func NotifyMasters(content string) {
|
|||||||
if notify == "" {
|
if notify == "" {
|
||||||
notify = Bucket(class).Get("masters")
|
notify = Bucket(class).Get("masters")
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, v := range strings.Split(notify, "&") {
|
for _, v := range strings.Split(notify, "&") {
|
||||||
if push, ok := Pushs[class]; ok {
|
if push, ok := Pushs[class]; ok {
|
||||||
push(v[1], content)
|
push(v, content)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user