From e1388761998f231de0c321e6652f7db9ed567c09 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 28 Oct 2012 22:08:08 -0700 Subject: fix updating of bitwise 'unseen' to account for mysql operator precedence --- include/features.php | 2 +- include/permissions.php | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/features.php b/include/features.php index d74718540..61e4b2acd 100644 --- a/include/features.php +++ b/include/features.php @@ -22,7 +22,7 @@ $arr = array( 'categories' => t('Post Categories'), 'filing' => t('Saved Folders'), 'archives' => t('Search by Date'), - +'dislike' => t('Dislike Posts'), ); diff --git a/include/permissions.php b/include/permissions.php index d48e98c41..e32704883 100644 --- a/include/permissions.php +++ b/include/permissions.php @@ -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) { -- cgit v1.2.3