summaryrefslogtreecommitdiff
path: root/system/db/init.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-06-10 15:43:35 -0700
committerGitHub <noreply@github.com>2017-06-10 15:43:35 -0700
commitea998eb195063617aa485ce99b0e5bd1697ecab5 (patch)
tree553fcdb6ff4bb318879cf2418962b0927d5fb519 /system/db/init.go
parent660cac0f7b4a6d731d07ac4f9ac6489f351eb09c (diff)
small typo in comments
Diffstat (limited to 'system/db/init.go')
-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 8bd5cad..ad0011f 100644
--- a/system/db/init.go
+++ b/system/db/init.go
@@ -88,9 +88,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 {