diff --git a/maintenance/GenerateFancyCaptchas.php b/maintenance/GenerateFancyCaptchas.php index 0cbb85f29..d275d8cea 100644 --- a/maintenance/GenerateFancyCaptchas.php +++ b/maintenance/GenerateFancyCaptchas.php @@ -124,9 +124,8 @@ class GenerateFancyCaptchas extends Maintenance { $this->output( "Generating $countGen new captchas.." ); $captchaTime = -microtime( true ); $result = Shell::command( [] ) - ->unsafeParams( $cmd ) + ->params( $cmd ) ->limits( [ 'time' => 0 ] ) - ->restrict( Shell::RESTRICT_NONE ) ->execute(); if ( $result->getExitCode() != 0 ) { $this->output( " Failed.\n" );