Fixed issue #69.
This commit is contained in:
parent
cb4f5971a8
commit
a740918a20
@ -186,7 +186,7 @@ class ForumController extends ApplicationController
|
|||||||
|
|
||||||
public function markAllRead()
|
public function markAllRead()
|
||||||
{
|
{
|
||||||
$this->current_user->updateAttribute('last_forum_topic_read_at', time());
|
$this->current_user->updateAttribute('last_forum_topic_read_at', date('Y-m-d H:i:s'));
|
||||||
$this->render('nothing');
|
$this->render('nothing');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user