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