зеркало из https://github.com/mozilla/pjs.git
Missed a return statement in the setupInstall method. This was causing setup to fail every time, because the function returned a defined value. Also took the opportunity to add a call to setupProgress.
This commit is contained in:
Родитель
42945cc97c
Коммит
a407bc5001
|
@ -45,7 +45,9 @@ sub setupInstall {
|
|||
my $self = shift;
|
||||
my($app) = @_;
|
||||
$self->dump(9, 'about to configure main application...');
|
||||
$app->output->setupProgress('configuration');
|
||||
my $userDataSource = $app->getService('dataSource.user');
|
||||
$userDataSource->addRight($app, 'hello');
|
||||
$self->dump(9, 'done configuring main application');
|
||||
return;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче