Skip to content

Commit

Permalink
Merge pull request #6 from fuxiaohei/develop
Browse files Browse the repository at this point in the history
merge develop
  • Loading branch information
fuxiaohei committed Jan 25, 2014
2 parents 724f208 + 9c3104e commit a55a21f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions app/plugin/email.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,5 @@ func (p *EmailPlugin) sendSmtp(from mail.Address, to mail.Address, title string,
[]string{to.Address},
[]byte(message),
)
if err != nil {
fmt.Println(err)
}
println("send to email ", to.String(), fmt.Sprint(err))
}
2 changes: 2 additions & 0 deletions app/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func Activate(name string) {
p.Activate()
pluginStorage[p.Key()] = p.ToStorage()
model.Storage.Set("plugins", pluginStorage)
println("activate", p.Key())
}

func Deactivate(name string) {
Expand All @@ -119,4 +120,5 @@ func Deactivate(name string) {
p.Deactivate()
pluginStorage[p.Key()] = p.ToStorage()
model.Storage.Set("plugins", pluginStorage)
println("deactivate", p.Key())
}

0 comments on commit a55a21f

Please sign in to comment.