Implemented comments like update status.

This commit is contained in:
Pierre 2018-01-27 18:56:06 +01:00
parent bb0dc94d96
commit b1dd002942

View File

@ -52,6 +52,17 @@ class likesController {
$componentType = Likes::LIKE_POST;
break;
//In case of comments
case "comment":
//Extract informations
$id = getPostCommentIDWithAccess("id");
$componentType = Likes::LIKE_COMMENT;
break;
//Default case : error