From 2848a2835d0eb34b6201d6508a70341dee630baa Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Mon, 1 Apr 2024 15:51:47 -0300 Subject: [PATCH] chore: remove unecessary rows Signed-off-by: Vitor Mattos --- lib/Db/SignRequestMapper.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Db/SignRequestMapper.php b/lib/Db/SignRequestMapper.php index bbb2cf9ed2..553eb5b0ec 100644 --- a/lib/Db/SignRequestMapper.php +++ b/lib/Db/SignRequestMapper.php @@ -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(), @@ -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'],