10require_once __DIR__ .
'/Maintenance.php';
22 parent::__construct();
27 $this->
output(
"Purging expired blocks...\n" );
31 $this->
output(
"Done purging expired blocks.\n" );
37require_once RUN_MAINTENANCE_IF_MAIN;
Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effo...
output( $out, $channel=null)
Throw some output to the user.
getServiceContainer()
Returns the main service container.
addDescription( $text)
Set the description text.
Remove expired blocks from the block and ipblocks_restrictions tables.
execute()
Do the actual work.
__construct()
Default constructor.