Commit a454c434206c804e4d1254636843d51c69b56ff3
1 parent
f1a0f045
Code clean up
Committed by: Jarrett Jordaan Reviewed by: Prince Mbekwa
Showing
4 changed files
with
0 additions
and
7 deletions
setup/migrate/migrateWizard.php
| @@ -256,7 +256,6 @@ class MigrateWizard { | @@ -256,7 +256,6 @@ class MigrateWizard { | ||
| 256 | exit(); | 256 | exit(); |
| 257 | } | 257 | } |
| 258 | } else { | 258 | } else { |
| 259 | - // TODO: Die gracefully | ||
| 260 | $this->util->error("System has been migrated <a href='../../login.php' class='back' style='width:50px;float:none' back button_next>Finish</a>"); | 259 | $this->util->error("System has been migrated <a href='../../login.php' class='back' style='width:50px;float:none' back button_next>Finish</a>"); |
| 261 | } | 260 | } |
| 262 | } | 261 | } |
setup/migrate/steps/migrateInstallation.php
| @@ -239,8 +239,6 @@ class migrateInstallation extends step | @@ -239,8 +239,6 @@ class migrateInstallation extends step | ||
| 239 | ); | 239 | ); |
| 240 | $ktSettings = $this->util->iniUtilities->getSection('KnowledgeTree'); | 240 | $ktSettings = $this->util->iniUtilities->getSection('KnowledgeTree'); |
| 241 | $froot = $ktSettings['fileSystemRoot']; | 241 | $froot = $ktSettings['fileSystemRoot']; |
| 242 | -// print_r($ktSettings); | ||
| 243 | -// die; | ||
| 244 | if ($froot == 'default') { | 242 | if ($froot == 'default') { |
| 245 | $froot = $this->location; | 243 | $froot = $this->location; |
| 246 | } | 244 | } |
setup/upgrade/templates/welcome.tpl
| @@ -12,9 +12,6 @@ | @@ -12,9 +12,6 @@ | ||
| 12 | <tr><td>Username</td><td><input id="username" name=username></td></tr> | 12 | <tr><td>Username</td><td><input id="username" name=username></td></tr> |
| 13 | <tr><td>Password</td><td><input name=password type="password"></td></tr> | 13 | <tr><td>Password</td><td><input name=password type="password"></td></tr> |
| 14 | <?php if (!empty($errors)) { ?><tr><td></td><td><span class="error">Could Not Authenticate User</span></td></tr> <?php } ?> | 14 | <?php if (!empty($errors)) { ?><tr><td></td><td><span class="error">Could Not Authenticate User</span></td></tr> <?php } ?> |
| 15 | - <?php | ||
| 16 | -// print_r($errors); | ||
| 17 | - ?> | ||
| 18 | </table> | 15 | </table> |
| 19 | 16 | ||
| 20 | </div> | 17 | </div> |
setup/wizard/installWizard.php
| @@ -293,7 +293,6 @@ class InstallWizard { | @@ -293,7 +293,6 @@ class InstallWizard { | ||
| 293 | exit(); | 293 | exit(); |
| 294 | } | 294 | } |
| 295 | } else { | 295 | } else { |
| 296 | - // TODO: Die gracefully | ||
| 297 | $this->util->error("System has been installed <a href='../../login.php' class='back' style='width:50px;float:none' class='back button_next'>Finish</a>"); | 296 | $this->util->error("System has been installed <a href='../../login.php' class='back' style='width:50px;float:none' class='back button_next'>Finish</a>"); |
| 298 | } | 297 | } |
| 299 | } | 298 | } |