diff --git a/src/EntityImporter.php b/src/EntityImporter.php index ad84fd3..f8fccba 100644 --- a/src/EntityImporter.php +++ b/src/EntityImporter.php @@ -53,7 +53,7 @@ public function __construct( $this->logger = $logger; $this->idParser = new BasicEntityIdParser(); - $this->importUser = User::newFromId( 0 ); + $this->importUser = User::newFromSession(); $this->batchSize = 10; }