From 050315fd4253a962a5a2fa7fc69eb712bbf0ecdc Mon Sep 17 00:00:00 2001 From: horus_arch Date: Sun, 29 Mar 2015 20:52:16 +0200 Subject: Add modified mailgraph.cgi. Update style.css. Complete test suite, every function should be tested. --- email.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'email.go') 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 -- cgit v1.2.3