mirror of https://github.com/go-gitea/gitea.git
Fix c/p error in inline documentation (#29148)
Fix small copy/paste error in inline documentation --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
7e8ff70940
commit
740c6a226c
|
@ -18,7 +18,7 @@ func (source *Source) FromDB(bs []byte) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToDB exports an SMTPConfig to a serialized format.
|
// ToDB exports the config to a byte slice to be saved into database (this method is just dummy and does nothing for DB source)
|
||||||
func (source *Source) ToDB() ([]byte, error) {
|
func (source *Source) ToDB() ([]byte, error) {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue