mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
Fix documentation comment
This commit is contained in:
parent
8bc9722fd3
commit
2ae8bca9f1
@ -140,7 +140,7 @@ func AdminUserDelete(w http.ResponseWriter, r *http.Request, u *User) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Display a list of ALL users in the system
|
// Return an HTML form for the User to update the site settings.
|
||||||
func AdminSettings(w http.ResponseWriter, r *http.Request, u *User) error {
|
func AdminSettings(w http.ResponseWriter, r *http.Request, u *User) error {
|
||||||
// get settings from database
|
// get settings from database
|
||||||
settings := database.SettingsMust()
|
settings := database.SettingsMust()
|
||||||
@ -153,7 +153,6 @@ func AdminSettings(w http.ResponseWriter, r *http.Request, u *User) error {
|
|||||||
return RenderTemplate(w, "admin_settings.html", &data)
|
return RenderTemplate(w, "admin_settings.html", &data)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Display a list of ALL users in the system
|
|
||||||
func AdminSettingsUpdate(w http.ResponseWriter, r *http.Request, u *User) error {
|
func AdminSettingsUpdate(w http.ResponseWriter, r *http.Request, u *User) error {
|
||||||
// get settings from database
|
// get settings from database
|
||||||
settings := database.SettingsMust()
|
settings := database.SettingsMust()
|
||||||
|
Loading…
Reference in New Issue
Block a user