FIX: lots of bugfixes, sorry for ugly commit
This commit is contained in:
@@ -32,8 +32,6 @@ class AddLanguage extends Command
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
||||
@@ -24,8 +24,6 @@ class ChangePassword extends Command
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
||||
@@ -93,7 +93,7 @@ class InstallModule extends Command
|
||||
}
|
||||
|
||||
// we cannot rely on config() helper, because this module does not have to be published
|
||||
$config = @include($path);
|
||||
$config = include($path);
|
||||
|
||||
return $config;
|
||||
}
|
||||
@@ -146,7 +146,7 @@ class InstallModule extends Command
|
||||
throw new \Exception('Module ' . $config['name'] . ' already exists in database.');
|
||||
}
|
||||
|
||||
if (!$module) {
|
||||
if (is_null($module)) {
|
||||
// insert module into database
|
||||
$settings = [
|
||||
'staticName' => $this->moduleName,
|
||||
|
||||
Reference in New Issue
Block a user