Skip to content

Commit

Permalink
Merge pull request #2640 from LibreSign/backport/2639/stable28
Browse files Browse the repository at this point in the history
[stable28] chore: remove unecessary rows
  • Loading branch information
vitormattos authored Apr 1, 2024
2 parents 3cc367d + 75c8056 commit 4ca75f1
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 4ca75f1

Please sign in to comment.