aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/cleanupUploadStash.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/cleanupUploadStash.php')
-rw-r--r--maintenance/cleanupUploadStash.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/maintenance/cleanupUploadStash.php b/maintenance/cleanupUploadStash.php
index 6c42efe5f3d6..9a159aeb051c 100644
--- a/maintenance/cleanupUploadStash.php
+++ b/maintenance/cleanupUploadStash.php
@@ -27,7 +27,9 @@
use MediaWiki\MainConfigNames;
+// @codeCoverageIgnoreStart
require_once __DIR__ . '/Maintenance.php';
+// @codeCoverageIgnoreEnd
/**
* Maintenance script to remove old or broken uploads from temporary uploaded
@@ -159,5 +161,7 @@ class CleanupUploadStash extends Maintenance {
}
}
+// @codeCoverageIgnoreStart
$maintClass = CleanupUploadStash::class;
require_once RUN_MAINTENANCE_IF_MAIN;
+// @codeCoverageIgnoreEnd