fix delete user failed on sqlite (#1321)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2017-03-20 22:13:52 +08:00
1 parent bd8fe49076
commit 888dee3b5f
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -990,7 +990,7 @@ func deleteUser(e *xorm.Session, u *User) error {
}
// ***** START: ExternalLoginUser *****
if err = RemoveAllAccountLinks(u); err != nil {
if err = removeAllAccountLinks(e, u); err != nil {
return fmt.Errorf("ExternalLoginUser: %v", err)
}
// ***** END: ExternalLoginUser *****