summaryrefslogtreecommitdiff
path: root/email.go
diff options
context:
space:
mode:
Diffstat (limited to 'email.go')
-rw-r--r--email.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/email.go b/email.go
index 90799ee..43bde50 100644
--- a/email.go
+++ b/email.go
@@ -18,11 +18,11 @@ func (vU VirtualUser) EmailExists() bool {
}
func (vU VirtualUser) CreateEmail() bool {
- if !Db.Debug().NewRecord(vU) {
+ if !Db.NewRecord(vU) {
log.Println("Creating new record failed.", vU)
return false
}
- query := Db.Debug().Create(&vU)
+ query := Db.Create(&vU)
if query.Error != nil {
log.Println(query.Error)
return false