Fixed #15928 - updated method name to setCreatedBy from SetUserId
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
34a47e9e44
commit
06a0ac895d
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class ObjectImportCommand extends Command
|
||||||
$classString = "App\\Importer\\{$class}Importer";
|
$classString = "App\\Importer\\{$class}Importer";
|
||||||
$importer = new $classString($filename);
|
$importer = new $classString($filename);
|
||||||
$importer->setCallbacks([$this, 'log'], [$this, 'progress'], [$this, 'errorCallback'])
|
$importer->setCallbacks([$this, 'log'], [$this, 'progress'], [$this, 'errorCallback'])
|
||||||
->setUserId($this->option('user_id'))
|
->setCreatedBy($this->option('user_id'))
|
||||||
->setUpdating($this->option('update'))
|
->setUpdating($this->option('update'))
|
||||||
->setShouldNotify($this->option('send-welcome'))
|
->setShouldNotify($this->option('send-welcome'))
|
||||||
->setUsernameFormat($this->option('username_format'));
|
->setUsernameFormat($this->option('username_format'));
|
||||||
|
|
Loading…
Add table
Reference in a new issue