diff options
author | friendica <info@friendica.com> | 2014-07-17 20:54:30 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-07-17 20:54:30 -0700 |
commit | b19176169cd93e7aa305296a85e28c8c1c68352b (patch) | |
tree | e3e6bb8f78d47d34310ee015a4447612643c2039 /mod/like.php | |
parent | 0cb81714d80e3d51dc4939664425b7d1978b5d06 (diff) | |
download | volse-hubzilla-b19176169cd93e7aa305296a85e28c8c1c68352b.tar.gz volse-hubzilla-b19176169cd93e7aa305296a85e28c8c1c68352b.tar.bz2 volse-hubzilla-b19176169cd93e7aa305296a85e28c8c1c68352b.zip |
provide a specific permission for liking profiles (reuse the obsolete bookmark permission), also remove the unused 'unconnected contacts' view for now.
Diffstat (limited to 'mod/like.php')
-rwxr-xr-x | mod/like.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/like.php b/mod/like.php index f4feca279..916faf230 100755 --- a/mod/like.php +++ b/mod/like.php @@ -149,7 +149,7 @@ function like_content(&$a) { $perms = get_all_perms($owner_uid,$observer['xchan_hash']); - if(! ($perms['post_wall'] && $perms['view_profile'])) { + if(! ($perms['post_like'] && $perms['view_profile'])) { if($interactive) { notice( t('Permission denied.') . EOL); return $o; |