Commit c5db23d0e2b40a75ccc954b67bc4b0ae913f3e2a
1 parent
704fefb0
Replaced KT with KnowledgeTree in some error messages for installer
Committed by: Paul Barrett
Showing
3 changed files
with
6 additions
and
6 deletions
setup/migrate/steps/migrateInstallation.php
| @@ -160,7 +160,7 @@ class migrateInstallation extends step | @@ -160,7 +160,7 @@ class migrateInstallation extends step | ||
| 160 | public function checkVersion() { | 160 | public function checkVersion() { |
| 161 | if($this->foundVersion < $this->supportedVersion) { | 161 | if($this->foundVersion < $this->supportedVersion) { |
| 162 | $this->versionError = true; | 162 | $this->versionError = true; |
| 163 | - $this->error[] = "KT installation needs to be 3.6.1 or higher"; | 163 | + $this->error[] = "KnowledgeTree installation needs to be 3.6.1 or higher"; |
| 164 | return false; | 164 | return false; |
| 165 | } | 165 | } |
| 166 | 166 | ||
| @@ -173,7 +173,7 @@ class migrateInstallation extends step | @@ -173,7 +173,7 @@ class migrateInstallation extends step | ||
| 173 | $foundVersion = file_get_contents($verFile); | 173 | $foundVersion = file_get_contents($verFile); |
| 174 | return $foundVersion; | 174 | return $foundVersion; |
| 175 | } else { | 175 | } else { |
| 176 | - $this->error[] = "KT installation version not found"; | 176 | + $this->error[] = "KnowledgeTree installation version not found"; |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | return false; | 179 | return false; |
| @@ -214,10 +214,10 @@ class migrateInstallation extends step | @@ -214,10 +214,10 @@ class migrateInstallation extends step | ||
| 214 | 214 | ||
| 215 | return true; | 215 | return true; |
| 216 | } | 216 | } |
| 217 | - $this->error[] = "KT installation configuration file empty"; | 217 | + $this->error[] = "KnowledgeTree installation configuration file empty"; |
| 218 | } | 218 | } |
| 219 | } else { | 219 | } else { |
| 220 | - $this->error[] = "KT installation configuration file not found"; | 220 | + $this->error[] = "KnowledgeTree installation configuration file not found"; |
| 221 | } | 221 | } |
| 222 | } else { | 222 | } else { |
| 223 | $this->error[] = "Please Enter a Location"; | 223 | $this->error[] = "Please Enter a Location"; |
setup/upgrade/step.php
| @@ -467,7 +467,7 @@ class Step | @@ -467,7 +467,7 @@ class Step | ||
| 467 | $foundVersion = file_get_contents($verFile); | 467 | $foundVersion = file_get_contents($verFile); |
| 468 | return $foundVersion; | 468 | return $foundVersion; |
| 469 | } else { | 469 | } else { |
| 470 | - $this->error[] = "KT installation version not found"; | 470 | + $this->error[] = "KnowledgeTree installation version not found"; |
| 471 | } | 471 | } |
| 472 | 472 | ||
| 473 | return false; | 473 | return false; |
setup/upgrade/steps/upgradeDatabase.php
| @@ -202,7 +202,7 @@ class upgradeDatabase extends Step | @@ -202,7 +202,7 @@ class upgradeDatabase extends Step | ||
| 202 | $foundVersion = file_get_contents($verFile); | 202 | $foundVersion = file_get_contents($verFile); |
| 203 | return $foundVersion; | 203 | return $foundVersion; |
| 204 | } else { | 204 | } else { |
| 205 | - $this->error[] = "KT installation version not found"; | 205 | + $this->error[] = "KnowledgeTree installation version not found"; |
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | return false; | 208 | return false; |