adminUpdates setting not available now

We don't run a service similar to update.status.net yet. Maybe we should,
but that's for the future to decide. Currently I view it as a callback
that we want to avoid.
This commit is contained in:
Mikael Nordfeldth
2014-05-19 14:53:11 +02:00
parent 1207f4f06f
commit fb82c75b49
4 changed files with 2 additions and 24 deletions

View File

@@ -84,7 +84,6 @@ class CliInstaller extends Installer
'--admin-nick' => 'adminNick',
'--admin-pass' => 'adminPass',
'--admin-email' => 'adminEmail',
'--admin-updates' => 'adminUpdates',
'--site-profile' => 'siteProfile'
);
@@ -106,7 +105,6 @@ class CliInstaller extends Installer
// defaults
$this->dbtype = 'mysql';
$this->adminUpdates = true;
$this->verbose = true;
// ssl is defaulted in lib/installer.php
@@ -115,7 +113,7 @@ class CliInstaller extends Installer
if (isset($map[$arg])) {
$var = $map[$arg];
$this->$var = $option[1];
if ($var == 'adminUpdates' || $arg == '--fancy') {
if ($arg == '--fancy') {
$this->$var = ($option[1] != 'false') && ($option[1] != 'no');
}
} else if ($arg == '--skip-config') {