File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -869,14 +869,8 @@ public function importRow(Table $table, array $row): int {
869869 ]);
870870 $ qb ->executeStatement ();
871871 $ id = $ this ->connection ->lastInsertId ('*PREFIX*tables_row_sleeves ' );
872- $ newRow = new Row2 ();
873- $ newRow ->setId ($ id );
874- $ newRow ->setTableId ($ table ->getId ());
875- $ newRow ->setCreatedBy ($ table ->getOwnership ());
876- $ newRow ->setCreatedAt ($ row ['createdAt ' ]);
877- $ newRow ->setLastEditBy ($ table ->getOwnership ());
878- $ newRow ->setLastEditAt ($ row ['lastEditAt ' ]);
879- return (int )$ newRow ->getId ();
872+
873+ return (int )$ id ;
880874 } catch (\Exception $ e ) {
881875 $ this ->logger ->error ('userMigrationImport insert error: ' . $ e ->getMessage ());
882876 throw new InternalError ('userMigrationImport insert error: ' . $ e ->getMessage ());
You can’t perform that action at this time.
0 commit comments