Commit c5db23d0e2b40a75ccc954b67bc4b0ae913f3e2a

Authored by Paul Barrett
1 parent 704fefb0

Replaced KT with KnowledgeTree in some error messages for installer

Committed by: Paul Barrett
setup/migrate/steps/migrateInstallation.php
... ... @@ -160,7 +160,7 @@ class migrateInstallation extends step
160 160 public function checkVersion() {
161 161 if($this->foundVersion < $this->supportedVersion) {
162 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 164 return false;
165 165 }
166 166  
... ... @@ -173,7 +173,7 @@ class migrateInstallation extends step
173 173 $foundVersion = file_get_contents($verFile);
174 174 return $foundVersion;
175 175 } else {
176   - $this->error[] = "KT installation version not found";
  176 + $this->error[] = "KnowledgeTree installation version not found";
177 177 }
178 178  
179 179 return false;
... ... @@ -214,10 +214,10 @@ class migrateInstallation extends step
214 214  
215 215 return true;
216 216 }
217   - $this->error[] = "KT installation configuration file empty";
  217 + $this->error[] = "KnowledgeTree installation configuration file empty";
218 218 }
219 219 } else {
220   - $this->error[] = "KT installation configuration file not found";
  220 + $this->error[] = "KnowledgeTree installation configuration file not found";
221 221 }
222 222 } else {
223 223 $this->error[] = "Please Enter a Location";
... ...
setup/upgrade/step.php
... ... @@ -467,7 +467,7 @@ class Step
467 467 $foundVersion = file_get_contents($verFile);
468 468 return $foundVersion;
469 469 } else {
470   - $this->error[] = "KT installation version not found";
  470 + $this->error[] = "KnowledgeTree installation version not found";
471 471 }
472 472  
473 473 return false;
... ...
setup/upgrade/steps/upgradeDatabase.php
... ... @@ -202,7 +202,7 @@ class upgradeDatabase extends Step
202 202 $foundVersion = file_get_contents($verFile);
203 203 return $foundVersion;
204 204 } else {
205   - $this->error[] = "KT installation version not found";
  205 + $this->error[] = "KnowledgeTree installation version not found";
206 206 }
207 207  
208 208 return false;
... ...