X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FMaintenance.php;h=dd4ae8dc732e5dd0fcee67f0b2548c10a14d41eb;hb=c54766586acab549f186e81eeab259845112809d;hp=e4ac4675564d61bb349d48cacb103b5e155059dd;hpb=8a7e518da017e9345f86851e7c141276f5aa2693;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index e4ac467556..dd4ae8dc73 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -460,7 +460,7 @@ abstract class Maintenance { } # Save additional script dependant options to display - # them separately in help + #  them separately in help $this->mDependantParameters = array_diff_key( $this->mParams, $this->mGenericParameters ); } @@ -957,10 +957,9 @@ abstract class Maintenance { $wgShowSQLErrors = true; - // @codingStandardsIgnoreStart Allow error suppression. wfSuppressWarnings() - // is not available. - @set_time_limit( 0 ); - // @codingStandardsIgnoreStart + MediaWiki\suppressWarnings(); + set_time_limit( 0 ); + MediaWiki\restoreWarnings(); $this->adjustMemoryLimit(); }