First notification

This commit is contained in:
Pierre
2018-02-18 14:40:54 +01:00
parent 1194bb4b71
commit 3954a0b64c
3 changed files with 37 additions and 22 deletions

View File

@ -48,7 +48,7 @@ class commentsController {
//Create a notification
$notification = new Notification();
$notification->set_time(time());
$notification->set_time_create(time());
$notification->set_from_user_id(userID);
$notification->set_on_elem_id($postID);
$notification->set_on_elem_type(Notification::POST);