mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-18 16:18:04 +00:00
Created User->canCreatePosts method
This commit is contained in:
@ -151,7 +151,7 @@ class userController
|
||||
//If it is his page, yes by default
|
||||
userID == $userID ? TRUE :
|
||||
//Else check friendship status
|
||||
CS::get()->components->friends->can_post_text(userID, $userID);
|
||||
CS::get()->components->user->canCreatePosts(userID, $userID);
|
||||
}
|
||||
|
||||
//Return user informations
|
||||
|
Reference in New Issue
Block a user