summaryrefslogtreecommitdiff
path: root/maintenance/importImages.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/importImages.php')
-rw-r--r--maintenance/importImages.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/maintenance/importImages.php b/maintenance/importImages.php
index ae70441f..ad385e57 100644
--- a/maintenance/importImages.php
+++ b/maintenance/importImages.php
@@ -88,23 +88,23 @@ if ( isset( $options['check-userblock'] ) ) {
}
# Get --from
-wfSuppressWarnings();
+MediaWiki\suppressWarnings();
$from = $options['from'];
-wfRestoreWarnings();
+MediaWiki\restoreWarnings();
# Get sleep time.
-wfSuppressWarnings();
+MediaWiki\suppressWarnings();
$sleep = $options['sleep'];
-wfRestoreWarnings();
+MediaWiki\restoreWarnings();
if ( $sleep ) {
$sleep = (int)$sleep;
}
# Get limit number
-wfSuppressWarnings();
+MediaWiki\suppressWarnings();
$limit = $options['limit'];
-wfRestoreWarnings();
+MediaWiki\restoreWarnings();
if ( $limit ) {
$limit = (int)$limit;