Skip to content

Commit

Permalink
Merge pull request #2639 from LibreSign/chore/remove-unecessary-rows
Browse files Browse the repository at this point in the history
chore: remove unecessary rows
  • Loading branch information
vitormattos authored Apr 1, 2024
2 parents c3be8fc + 2848a28 commit 9238376
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Db/SignRequestMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,6 @@ private function formatListRow(array $row): array {
$row['status'] = (int) $row['status'];
$row['statusText'] = $this->fileMapper->getTextOfStatus($row['status']);
$row['nodeId'] = (int) $row['node_id'];
$row['uuid'] = $row['uuid'];
$row['name'] = $row['name'];
$row['requested_by'] = [
'uid' => $row['user_id'],
'displayName' => $this->userManager->get($row['user_id'])->getDisplayName(),
Expand All @@ -585,7 +583,6 @@ private function formatListRow(array $row): array {
->format('Y-m-d H:i:s');
$row['file'] = $this->urlGenerator->linkToRoute('libresign.page.getPdf', ['uuid' => $row['uuid']]);
$row['nodeId'] = (int) $row['node_id'];
$row['uuid'] = $row['uuid'];
unset(
$row['user_id'],
$row['node_id'],
Expand Down

0 comments on commit 9238376

Please sign in to comment.