Skip to content

Commit

Permalink
Drop old code (#505)
Browse files Browse the repository at this point in the history
This code was responsible for https://issue-tracker.miraheze.org/T11993,
CVE-2024-29883.

Once that was fixed this line became useless, but was never removed.
  • Loading branch information
redbluegreenhat committed Apr 6, 2024
1 parent fa9cd74 commit d4ddc2f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/RequestWiki/RequestWikiRequestViewer.php
Expand Up @@ -403,7 +403,6 @@ protected function submitForm(

$request->reopen( $form->getUser() );
} elseif ( isset( $formData['submit-handle'] ) ) {
$request->visibility = $formData['visibility'];
if ( isset( $formData['visibility-options'] ) ) {
$request->suppress( $user, $formData['visibility-options'] );
}
Expand Down

0 comments on commit d4ddc2f

Please sign in to comment.