summaryrefslogtreecommitdiffstats
path: root/public/admin
diff options
context:
space:
mode:
authorrdalverny <rdalverny@gmail.com>2022-01-22 22:01:35 +0100
committerrdalverny <rdalverny@gmail.com>2022-01-22 22:01:35 +0100
commitde96fb60de756862d740722886412bdb3f070d96 (patch)
treea4eda70a9fa99b3b3590bdd0a26f5e46aebb2110 /public/admin
parent51f914b95d165e0567654cac1e3dd48b29ce4177 (diff)
downloadplanet-de96fb60de756862d740722886412bdb3f070d96.tar
planet-de96fb60de756862d740722886412bdb3f070d96.tar.gz
planet-de96fb60de756862d740722886412bdb3f070d96.tar.bz2
planet-de96fb60de756862d740722886412bdb3f070d96.tar.xz
planet-de96fb60de756862d740722886412bdb3f070d96.zip
Also cache Atom feed
Diffstat (limited to 'public/admin')
-rwxr-xr-xpublic/admin/subscriptions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/admin/subscriptions.php b/public/admin/subscriptions.php
index 236ac46..a46260e 100755
--- a/public/admin/subscriptions.php
+++ b/public/admin/subscriptions.php
@@ -24,7 +24,7 @@ if (isset($_POST['upload']) &&
OpmlManager::save($newOpml, $opmlFile);
Cache::setStore($PlanetConfig->getCacheDir() . '/');
- Cache::prune("html");
+ Cache::prune('html');
} elseif (isset($_POST['opml']) || isset($_POST['add'])) {
// Load old OPML
$oldOpml = OpmlManager::load($opmlFile);
@@ -84,7 +84,7 @@ if (isset($_POST['upload']) &&
OpmlManager::save($newOpml, $opmlFile);
Cache::setStore($PlanetConfig->getCacheDir() . '/');
- Cache::prune("html");
+ Cache::prune('html');
}
header("Location: index.php");
die();