git-svn-id: svn://losandesgames.com/alfheim-website@47 15359d88-9307-4e75-a9c1-e5686e5897df
This commit is contained in:
1 parent
db8c61da56
commit
cb3199966c
4 files changed
+26
-11
No files matched your search
@@ -58,7 +58,7 @@ type Subscription struct {
|
||||
Status SubscriptionStatus
|
||||
}
|
||||
|
||||
type Usermodel struct {
|
||||
type UserModel struct {
|
||||
DB *sql.DB
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ func (m *Usermodel) Insert(username string, password string, firstname string, l
|
||||
return insertid, nil
|
||||
}
|
||||
|
||||
func (m *Usermodel) Delete(id int32) error {
|
||||
func (m *UserModel) Delete(id int32) error {
|
||||
account, err := users.GetAccount(id)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user