diff options
Diffstat (limited to 'controller/admincontroller.php')
-rw-r--r-- | controller/admincontroller.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/controller/admincontroller.php b/controller/admincontroller.php index 71bcf0d29..39d75d9d2 100644 --- a/controller/admincontroller.php +++ b/controller/admincontroller.php @@ -38,7 +38,7 @@ class AdminController extends Controller { 'autoPurgeMinimumInterval' => $this->config->getAutoPurgeMinimumInterval(), 'autoPurgeCount' => $this->config->getAutoPurgeCount(), - 'cacheDuration' => $this->config->getSimplePieCacheDuration(), + 'cacheDuration' => $this->config->getCacheDuration(), 'feedFetcherTimeout' => $this->config->getFeedFetcherTimeout(), 'useCronUpdates' => $this->config->getUseCronUpdates(), ]; @@ -59,7 +59,7 @@ class AdminController extends Controller { $useCronUpdates) { $this->config->setAutoPurgeMinimumInterval($autoPurgeMinimumInterval); $this->config->setAutoPurgeCount($autoPurgeCount); - $this->config->setSimplePieCacheDuration($cacheDuration); + $this->config->setCacheDuration($cacheDuration); $this->config->setFeedFetcherTimeout($feedFetcherTimeout); $this->config->setUseCronUpdates($useCronUpdates); $this->config->write($this->configPath); @@ -68,7 +68,7 @@ class AdminController extends Controller { 'autoPurgeMinimumInterval' => $this->config->getAutoPurgeMinimumInterval(), 'autoPurgeCount' => $this->config->getAutoPurgeCount(), - 'cacheDuration' => $this->config->getSimplePieCacheDuration(), + 'cacheDuration' => $this->config->getCacheDuration(), 'feedFetcherTimeout' => $this->config->getFeedFetcherTimeout(), 'useCronUpdates' => $this->config->getUseCronUpdates(), ]; |