Skip to content

Commit

Permalink
Update migration to work with the 8.1.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwhite4 committed May 15, 2019
1 parent 0481b64 commit 308fe85
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 40 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,25 @@ class ConfigFilesMigration extends AbstractConfigFilesMigration
public function execute()
{
$this->assertPortalSettingsIsWritable();
$this->writePortalSettingsFile();

$console = Console::factory();

$console->displayMessage(<<<"EOT"
This release of XDMoD features an optional replacement for the summary
tab that is intended to provide easier access to XDMoD's many features
for new or inexperienced (novice) users. Detailed information is available
as https://open.xdmod.org/novice_user.html
EOT
);
$console->displayBlankLine();
$novice_user = $console->prompt(
'Enable Novice User Tab?',
'off',
array('on', 'off')
);

$this->writePortalSettingsFile(array(
'features_novice_user' => $novice_user
));
}
}

0 comments on commit 308fe85

Please sign in to comment.