Added permission handling of profile-photos
Now we automatically set the appropiate viewing-permissions on profile edit and revert photos chosen as default profile picture bacl to public access.
This commit is contained in:
@@ -95,7 +95,6 @@ function profperm_content(&$a) {
|
||||
profile_photo_set_profile_perms($profile['id']);
|
||||
|
||||
$r = q("SELECT * FROM abook left join xchan on abook_xchan = xchan_hash WHERE abook_channel = %d AND abook_profile = '%s'",
|
||||
|
||||
intval(local_user()),
|
||||
dbesc($profile['profile_guid'])
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user