Skip to content

Commit 5421d2c

Browse files
committed
simplify
1 parent 2ce1d64 commit 5421d2c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pages/rmpatch.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
$success_message = "Patch deleted";
1919
} else {
2020
$name = $patch->getSubmitter()->shortName();
21-
$link = dolink('rmpatch', "Yes, I'm sure", ['id' => $patch->id, 'sure' => 1]);
2221
$confirm["Are you sure you want to delete patch $patch->id of $name?"]
23-
= $link;
22+
= dolink('rmpatch', "Yes, I'm sure", ['id' => $patch->id, 'sure' => 1]);
2423
}

0 commit comments

Comments
 (0)