From c5db23d0e2b40a75ccc954b67bc4b0ae913f3e2a Mon Sep 17 00:00:00 2001 From: Paul Barrett Date: Wed, 25 Nov 2009 17:57:51 +0200 Subject: [PATCH] Replaced KT with KnowledgeTree in some error messages for installer --- setup/migrate/steps/migrateInstallation.php | 8 ++++---- setup/upgrade/step.php | 2 +- setup/upgrade/steps/upgradeDatabase.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/setup/migrate/steps/migrateInstallation.php b/setup/migrate/steps/migrateInstallation.php index 72ed725..e97c313 100644 --- a/setup/migrate/steps/migrateInstallation.php +++ b/setup/migrate/steps/migrateInstallation.php @@ -160,7 +160,7 @@ class migrateInstallation extends step public function checkVersion() { if($this->foundVersion < $this->supportedVersion) { $this->versionError = true; - $this->error[] = "KT installation needs to be 3.6.1 or higher"; + $this->error[] = "KnowledgeTree installation needs to be 3.6.1 or higher"; return false; } @@ -173,7 +173,7 @@ class migrateInstallation extends step $foundVersion = file_get_contents($verFile); return $foundVersion; } else { - $this->error[] = "KT installation version not found"; + $this->error[] = "KnowledgeTree installation version not found"; } return false; @@ -214,10 +214,10 @@ class migrateInstallation extends step return true; } - $this->error[] = "KT installation configuration file empty"; + $this->error[] = "KnowledgeTree installation configuration file empty"; } } else { - $this->error[] = "KT installation configuration file not found"; + $this->error[] = "KnowledgeTree installation configuration file not found"; } } else { $this->error[] = "Please Enter a Location"; diff --git a/setup/upgrade/step.php b/setup/upgrade/step.php index 691224b..5a36d16 100644 --- a/setup/upgrade/step.php +++ b/setup/upgrade/step.php @@ -467,7 +467,7 @@ class Step $foundVersion = file_get_contents($verFile); return $foundVersion; } else { - $this->error[] = "KT installation version not found"; + $this->error[] = "KnowledgeTree installation version not found"; } return false; diff --git a/setup/upgrade/steps/upgradeDatabase.php b/setup/upgrade/steps/upgradeDatabase.php index 0152148..4ebbbfe 100644 --- a/setup/upgrade/steps/upgradeDatabase.php +++ b/setup/upgrade/steps/upgradeDatabase.php @@ -202,7 +202,7 @@ class upgradeDatabase extends Step $foundVersion = file_get_contents($verFile); return $foundVersion; } else { - $this->error[] = "KT installation version not found"; + $this->error[] = "KnowledgeTree installation version not found"; } return false; -- libgit2 0.21.4