MediaWiki REL1_39
purgeMessageBlobStore.php
Go to the documentation of this file.
1<?php
2
3require_once __DIR__ . '/Maintenance.php';
4
6
16 public function execute() {
17 $blobStore = MediaWikiServices::getInstance()->getResourceLoader()->getMessageBlobStore();
18 $blobStore->clear();
19 }
20}
21
22$maintClass = PurgeMessageBlobStore::class;
23require_once RUN_MAINTENANCE_IF_MAIN;
Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effo...
Service locator for MediaWiki core services.
Purge the MessageBlobStore cache.
execute()
Do the actual work.