mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-23 15:56:50 +00:00
Merge "Disable ulimit time limit for long-running captcha.py script."
This commit is contained in:
commit
0e761f3325
|
@ -87,7 +87,7 @@ class GenerateFancyCaptchas extends Maintenance {
|
|||
|
||||
$this->output( "Generating $countGen new captchas...\n" );
|
||||
$retVal = 1;
|
||||
wfShellExec( $cmd, $retVal );
|
||||
wfShellExec( $cmd, $retVal, array(), array( 'time' => 0 ) );
|
||||
if ( $retVal != 0 ) {
|
||||
wfRecursiveRemoveDir( $tmpDir );
|
||||
$this->error( "Could not run generation script.\n", 1 );
|
||||
|
|
Loading…
Reference in a new issue