MediaWiki
master
purgeMessageBlobStore.php
Go to the documentation of this file.
1
<?php
2
3
require_once __DIR__ .
'/Maintenance.php'
;
4
13
class
PurgeMessageBlobStore
extends
Maintenance
{
14
public
function
execute
() {
15
$blobStore = $this->
getServiceContainer
()->getResourceLoader()->getMessageBlobStore();
16
$blobStore->clear();
17
}
18
}
19
20
$maintClass
= PurgeMessageBlobStore::class;
21
require_once RUN_MAINTENANCE_IF_MAIN;
Maintenance
Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effo...
Definition
Maintenance.php:68
Maintenance\getServiceContainer
getServiceContainer()
Returns the main service container.
Definition
Maintenance.php:641
PurgeMessageBlobStore
Purge the MessageBlobStore cache.
Definition
purgeMessageBlobStore.php:13
PurgeMessageBlobStore\execute
execute()
Do the actual work.
Definition
purgeMessageBlobStore.php:14
$maintClass
$maintClass
Definition
purgeMessageBlobStore.php:20
maintenance
purgeMessageBlobStore.php
Generated on Wed Apr 24 2024 20:26:16 for MediaWiki by
1.10.0