Fix site reset for benchmarks etc.

Updates #2309
This commit is contained in:
Bjørn Erik Pedersen 2016-08-15 01:20:16 +02:00
parent b3563b40a4
commit 30d65fd48d

View file

@ -112,7 +112,7 @@ type Site struct {
// reset returns a new Site prepared for rebuild.
func (s *Site) reset() *Site {
return &Site{Language: s.Language}
return &Site{Language: s.Language, owner: s.owner}
}
// newSite creates a new site in the given language.