summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-06-12 16:17:19 -0600
committerGitHub <noreply@github.com>2017-06-12 16:17:19 -0600
commite320a323a07833e8d892fc16474c1d3fd954fb42 (patch)
tree4687af83067eb36dbdf691eba22042b15fba2716
parentce7dc44721241b669ae7b5ba6c401dc528248cf4 (diff)
fix typo
'addoon' => 'addon'
-rw-r--r--system/db/init.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/db/init.go b/system/db/init.go
index 173ca6f..4f35bbc 100644
--- a/system/db/init.go
+++ b/system/db/init.go
@@ -99,9 +99,9 @@ func Init() {
}
// InitSearchIndex initializes Search Index for search to be functional
-// This was moved out of db.Init and put to main(), because addoon checker was initializing db together with
-// search indexing initialisation in time when there were no item.Types defined so search index was always empty when using addons.
-// We still have no guarentee whatsoever that item.Types is defined
+// This was moved out of db.Init and put to main(), because addon checker was initializing db together with
+// search indexing initialisation in time when there were no item.Types defined so search index was always
+// empty when using addons. We still have no guarentee whatsoever that item.Types is defined
// Should be called from a goroutine after SetContent is successful (SortContent requirement)
func InitSearchIndex() {
for t := range item.Types {