From 78d3e2164116f299effb11d25b1971e6d375366e Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 22 Oct 2014 01:35:59 +0200 Subject: get rid of simplepie --- controller/admincontroller.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'controller') diff --git a/controller/admincontroller.php b/controller/admincontroller.php index 39d75d9d2..e421c44e3 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->getCacheDuration(), + 'maxRedirects' => $this->config->getMaxRedirects(), 'feedFetcherTimeout' => $this->config->getFeedFetcherTimeout(), 'useCronUpdates' => $this->config->getUseCronUpdates(), ]; @@ -49,17 +49,17 @@ class AdminController extends Controller { /** * @param int $autoPurgeMinimumInterval * @param int $autoPurgeCount - * @param int $cacheDuration + * @param int $maxRedirects * @param int $feedFetcherTimeout * @param bool $useCronUpdates * @return array with the updated values */ public function update($autoPurgeMinimumInterval, $autoPurgeCount, - $cacheDuration, $feedFetcherTimeout, + $maxRedirects, $feedFetcherTimeout, $useCronUpdates) { $this->config->setAutoPurgeMinimumInterval($autoPurgeMinimumInterval); $this->config->setAutoPurgeCount($autoPurgeCount); - $this->config->setCacheDuration($cacheDuration); + $this->config->setMaxRedirects($maxRedirects); $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->getCacheDuration(), + 'maxRedirects' => $this->config->getMaxRedirects(), 'feedFetcherTimeout' => $this->config->getFeedFetcherTimeout(), 'useCronUpdates' => $this->config->getUseCronUpdates(), ]; -- cgit v1.2.3