mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-02 11:46:43 +00:00
GenerateFancyCaptchas: Add ->disableSandbox() to shell command
->restrict( Shell::RESTRICT_NONE ) that was removed was by my mistake. It ::restrict() is deprecated but the internal call, calls ->disableSandbox() when the value is zero. Follows-Up: I7b71c2f6b1bf05a4f00f2367a795db093dc00867 Change-Id: I6c8ff91aca183bdaa2473d86a029561440ed2ab3
This commit is contained in:
parent
7a45d6c6d5
commit
439e4130cc
|
@ -126,6 +126,7 @@ class GenerateFancyCaptchas extends Maintenance {
|
|||
$result = Shell::command( [] )
|
||||
->params( $cmd )
|
||||
->limits( [ 'time' => 0 ] )
|
||||
->disableSandbox()
|
||||
->execute();
|
||||
if ( $result->getExitCode() != 0 ) {
|
||||
$this->output( " Failed.\n" );
|
||||
|
|
Loading…
Reference in a new issue