mirror of
				https://github.com/pierre42100/ComunicAPI
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Implemented comments like update status.
This commit is contained in:
		@@ -52,6 +52,17 @@ class likesController {
 | 
				
			|||||||
				$componentType = Likes::LIKE_POST;
 | 
									$componentType = Likes::LIKE_POST;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				break;
 | 
									break;
 | 
				
			||||||
 | 
								
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
									
 | 
				
			||||||
 | 
								//In case of comments
 | 
				
			||||||
 | 
								case "comment":
 | 
				
			||||||
 | 
									
 | 
				
			||||||
 | 
									//Extract informations
 | 
				
			||||||
 | 
									$id = getPostCommentIDWithAccess("id");
 | 
				
			||||||
 | 
									$componentType = Likes::LIKE_COMMENT;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
									break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			//Default case : error
 | 
								//Default case : error
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user