don't provide option to block self

This commit is contained in:
friendica 2012-01-11 17:52:53 -08:00
parent d72decea96
commit 2a63618dc7
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -143,6 +143,9 @@ EOT;
function blockem_item_photo_menu(&$a,&$b) { function blockem_item_photo_menu(&$a,&$b) {
if((! local_user()) || ($b['item']['self']))
return;
$blocked = false; $blocked = false;
$author = $b['item']['author-link']; $author = $b['item']['author-link'];
if(is_array($a->data['blockem'])) { if(is_array($a->data['blockem'])) {