code cleanup for profile_photos

This commit is contained in:
redmatrix
2016-06-23 01:17:44 -07:00
parent b8c5a91940
commit acf26d5c63
6 changed files with 110 additions and 70 deletions

View File

@@ -97,7 +97,7 @@ class Profperm extends \Zotlabs\Web\Controller {
//Time to update the permissions on the profile-pictures as well
profile_photo_set_profile_perms($profile['id']);
profile_photo_set_profile_perms(local_channel(),$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_channel()),