1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-15 05:56:22 +02:00
Files
php-rss-bridge/bin/cache-clear
Dag 6eaf0eaa56 fix: add cache clearing tools (#3896)
Forgot to add these in #3867
2024-01-17 20:10:32 +01:00

15 lines
195 B
PHP
Executable File

#!/usr/bin/env php
<?php
/**
* Remove all items from the cache
*/
require __DIR__ . '/../lib/bootstrap.php';
$rssBridge = new RssBridge();
$cache = RssBridge::getCache();
$cache->clear();