Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -83,7 +83,7 @@ class CreateAdminUser extends ContainerAwareCommand
|
||||
{
|
||||
$output->writeln('Please enter the admin user information:');
|
||||
|
||||
$admin = $this->getAdminInfo($input, $output); // new Admin();
|
||||
$admin = $this->getAdminInfo($input, $output);
|
||||
|
||||
$admin->save();
|
||||
|
||||
|
||||
@@ -61,8 +61,7 @@ class GenerateResources extends ContainerAwareCommand
|
||||
$constants = $class->getConstants();
|
||||
|
||||
if (count($constants) == 0) {
|
||||
$output->writeln('No resources found');
|
||||
exit;
|
||||
throw new \RuntimeException('No resources found');
|
||||
}
|
||||
|
||||
switch ($input->getOption("output")) {
|
||||
|
||||
@@ -163,11 +163,7 @@ class Install extends ContainerAwareCommand
|
||||
}
|
||||
|
||||
if (false === $isValid) {
|
||||
$output->writeln(array(
|
||||
"",
|
||||
"<error>Please put correct permissions and reload install process</error>"
|
||||
));
|
||||
exit;
|
||||
throw new \RuntimeException('Please put correct permissions and reload install process');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -198,9 +194,6 @@ class Install extends ContainerAwareCommand
|
||||
|
||||
file_put_contents($configFile, $configContent);
|
||||
|
||||
// FA - no, as no further install will be possible
|
||||
// $fs->remove($sampleConfigFile);
|
||||
|
||||
$fs->remove($this->getContainer()->getParameter("kernel.cache_dir"));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user