diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-22 01:35:59 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-22 01:35:59 +0200 |
commit | 78d3e2164116f299effb11d25b1971e6d375366e (patch) | |
tree | d7a875f96833946b82f001ebdba1c23b19d32b17 /controller | |
parent | fb28fadcf6e71b4b797aa4241436ec3add543ba0 (diff) |
get rid of simplepie
Diffstat (limited to 'controller')
-rw-r--r-- | controller/admincontroller.php | 10 |
1 files changed, 5 insertions, 5 deletions
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(), ]; |