Skip to content

Commit a4b6065

Browse files
committed
cleanup
Signed-off-by: samin-z <samin.zavarkesh@gmail.com>
1 parent b41598c commit a4b6065

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/Service/RowService.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,6 @@ public function create(?int $tableId, ?int $viewId, RowDataInput|array $data): R
224224
throw new InternalError('Cannot create row without table or view in context');
225225
}
226226

227-
$columnsById = [];
228-
foreach ($columns as $column) {
229-
$columnsById[$column->getId()] = $column;
230-
}
231-
232227
$tableId = $tableId ?? $view->getTableId();
233228

234229
$data = $data instanceof RowDataInput ? $data : RowDataInput::fromArray($data);

0 commit comments

Comments
 (0)