Removed redirect to the news page

pull/663/head
iglocska 2015-09-16 14:35:56 +02:00
parent 3f6cca5c98
commit 0fe9794370
1 changed files with 0 additions and 8 deletions

View File

@ -563,14 +563,6 @@ class UsersController extends AppController {
if (!$this->Auth->user('termsaccepted')) {
$this->redirect(array('action' => 'terms'));
}
// News page
$newNewsdate = new DateTime("2012-03-27"); // TODO general, fixed odd date??
$newsdate = new DateTime($this->Auth->user('newsread'));
if ($newNewsdate > $newsdate) {
$this->redirect(array('action' => 'news'));
}
// Events list
$this->redirect(array('controller' => 'events', 'action' => 'index'));
}