]> git.mxchange.org Git - friendica-addons.git/commitdiff
don't provide option to block self
authorfriendica <info@friendica.com>
Thu, 12 Jan 2012 01:52:53 +0000 (17:52 -0800)
committerfriendica <info@friendica.com>
Thu, 12 Jan 2012 01:52:53 +0000 (17:52 -0800)
blockem.tgz
blockem/blockem.php

index 63454971d76a20f73554e69126e0cc1c3cffa62a..129a00652b979469e08b86f9fdb187bcb24c817a 100644 (file)
Binary files a/blockem.tgz and b/blockem.tgz differ
index b0e4d805baab4b1bfe564336478f4dfabd0e0bf8..43f34554e24071cc92a492c2121a4b8d244f8632 100644 (file)
@@ -143,6 +143,9 @@ EOT;
 
 function blockem_item_photo_menu(&$a,&$b) {
 
+       if((! local_user()) || ($b['item']['self']))
+               return;
+
        $blocked = false;
        $author = $b['item']['author-link'];
        if(is_array($a->data['blockem'])) {