1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
6543
ecad970a26
Use ID or Where to instead directly use Get when load object from database () ()
Backport 

Use ID or Where to instead directly use Get when load object from database

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-06-17 20:53:43 +01:00
Filip Navara
9b2fcadeef Fix SQL quoting ()
`show` is keyword in MySQL and has to be quoted to reference a column name. Use grave accents (ASCII code 96) for quoting to match rest of the source code. It's non-standard SQL, but it's supported by SQLite and MySQL.

Signed-off-by: Filip Navara <navara@emclient.com>
2018-10-20 18:19:21 -04:00
Ethan Koenig
aa962deec0 Replace deprecated Id method with ID () 2017-10-05 07:43:04 +03:00
Sandro Santilli
f73e734411 Run "make fmt" with go-1.6 () 2017-03-21 08:55:00 +08:00
Sandro Santilli
9182a35f18 Show user OpenID URIs in their profile () 2017-03-20 09:31:08 +01:00
Sandro Santilli
71d16f69ff Login via OpenID-2.0 () 2017-03-17 15:16:08 +01:00