mirror of https://github.com/MISP/MISP
Removed redirect to the news page
parent
3f6cca5c98
commit
0fe9794370
|
@ -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'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue