Skip to content

Commit b70a3cc

Browse files
Remove unused attachments line remaining from older refactor
Commit 56ba745 replaced the AttachmentsForm method block in /RTIR/Create.html with /Ticket/Elements/AddAttachments, and updated the parallel call in Incident/Elements/Create, but missed this one in Investigation/Elements/Create. It has gone unnoticed because the only caller (Incident/Create.html) always skips it.
1 parent 596fb6a commit b70a3cc

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

html/RTIR/Incident/Create.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@
329329
QueueObj => $InvestigationsQueueObj,
330330
Lifecycle => RT::IR->lifecycle_investigation,
331331
Constituency => $constituency,
332-
SkipField => { Owner => 1, Attachments => 1, DateFields => 1 },
332+
SkipField => { Owner => 1, DateFields => 1 },
333333
IncludeSignature => (exists $ARGS{'InvestigationContent'} ? 0 : 1),
334334
&>
335335
</div>

html/RTIR/Investigation/Elements/Create

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,6 @@
285285
&>
286286
% }
287287

288-
% unless ( $SkipField{'Attachments'} ) {
289-
<& /RTIR/Create.html:AttachmentsForm &>
290-
% }
291-
292288
</&>
293289

294290
<div class="form-row">

0 commit comments

Comments
 (0)