This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix dependency broken because xorm's API changed
for-closed-social
Lunny Xiao
8 years ago
parent
9cf4fe043b
commit
779b71eda4
1 changed files
with
1 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-6
models/models.go
+ 1
- 6
models/models.go
View File
@ -191,12 +191,7 @@ func SetEngine() (err error) {
return
fmt
.
Errorf
(
"Fail to create xorm.log: %v"
,
err
)
}
x
.
SetLogger
(
xorm
.
NewSimpleLogger
(
f
)
)
x
.
ShowSQL
=
true
x
.
ShowInfo
=
true
x
.
ShowDebug
=
true
x
.
ShowErr
=
true
x
.
ShowWarn
=
true
x
.
ShowSQL
(
true
)
return
nil
}
Write
Preview
Loading…
Cancel
Save