From 3845e1de7d73664c818360c12ae2b7b3b1882c90 Mon Sep 17 00:00:00 2001 From: sirius Date: Sun, 20 Apr 2014 00:31:18 +0200 Subject: 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. --- mod/profperm.php | 1 - 1 file changed, 1 deletion(-) (limited to 'mod/profperm.php') diff --git a/mod/profperm.php b/mod/profperm.php index a91523805..197062936 100644 --- a/mod/profperm.php +++ b/mod/profperm.php @@ -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']) ); -- cgit v1.2.3