fix updating of bitwise 'unseen' to account for mysql operator precedence

This commit is contained in:
friendica
2012-10-28 22:08:08 -07:00
parent d0d8971a69
commit e138876199
6 changed files with 20 additions and 9 deletions

View File

@@ -20,6 +20,14 @@
);
/**
* get_all_perms($uid,$observer)
*
* @param $uid : The channel_id associated with the resource owner
* @param $observer: The xchan_hash representing the observer
*
* @returns: array of all permissions, key is permission name, value is integer 0 or 1
*/
function get_all_perms($uid,$observer) {