diff --git a/module/news/news.php b/module/news/news.php index 5dc6273b..85fa93df 100755 --- a/module/news/news.php +++ b/module/news/news.php @@ -70,15 +70,11 @@ class news extends common { if ($this->getData(['module', $this->getUrl(0), 'config', 'version']) === NULL) { $this->setData(['module', $this->getUrl(0), 'config', 'version','0.0']); } - // Version 2.4 + // Version 3.0 if (version_compare($this->getData(['module', $this->getUrl(0), 'versionData']), self::VERSION, '<') ) { - $this->setData(['module', $this->getUrl(0),'config', [ - 'itemsperPage' => 16, - 'itemsperCol'=> 6, - 'feeds' => $this->getData(['module', $this->getUrl(0), 'config','feeds']), - 'feedsLabel' => $this->getData(['module', $this->getUrl(0), 'config','feedsLabel']), - 'version' => '3.0' - ]]); + $this->setData(['module', $this->getUrl(0), 'config', 'itemsperPage', 16]); + $this->setData(['module', $this->getUrl(0), 'config', 'itemsperCol', 6]); + $this->setData(['module', $this->getUrl(0), 'config', 'version','3.0']); } }