diff options
author | sirius <sirius83@gmx.de> | 2014-04-20 00:31:18 +0200 |
---|---|---|
committer | sirius <sirius83@gmx.de> | 2014-04-20 00:31:18 +0200 |
commit | 3845e1de7d73664c818360c12ae2b7b3b1882c90 (patch) | |
tree | 3431a2358e13f1f386ce7d800194af321783a5f8 /mod/profperm.php | |
parent | b0dc9f13edcbb705e1aa7d0af33bf0351f4d81f4 (diff) | |
download | volse-hubzilla-3845e1de7d73664c818360c12ae2b7b3b1882c90.tar.gz volse-hubzilla-3845e1de7d73664c818360c12ae2b7b3b1882c90.tar.bz2 volse-hubzilla-3845e1de7d73664c818360c12ae2b7b3b1882c90.zip |
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.
Diffstat (limited to 'mod/profperm.php')
-rw-r--r-- | mod/profperm.php | 1 |
1 files changed, 0 insertions, 1 deletions
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']) ); |